-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"type": "module",
"devDependencies": {
"autoprefixer": "^10.4.16",
"html-webpack-plugin": "^5.5.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jquery": "^3.7",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.31",
"postcss-cli": "^10.1.0",
"tailwindcss": "^3.3.5",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"scripts": {
"buildcss": "postcss App/css/main.css --output public/main.css",
"watchcss": "postcss App/css/main.css --output public/main.css --watch",
"buildjs": "webpack",
"watchjs": "webpack --watch",
"build": "npm-run-all -p buildcss buildjs",
"watch": "npm-run-all -p watchcss watchjs",
"prodjs": "webpack --mode production",
"prod": "npm-run-all -p buildcss prodjs",
"serve": "cd public && php -S localhost:8080 && echo 'Server started on http://localhost:8080'",
"start": "npm-run-all -p watch serve",
"test": "node --experimental-vm-modules node_modules/.bin/jest --env=jsdom"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
}
}