-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.3 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
{
"name": "laya-game-template",
"version": "1.0.0",
"description": "",
"scripts": {
"clean": "rm -rf tsc_outputs",
"tsc_build": "./node_modules/.bin/tsc",
"tsc_build_watch": "npm run tsc_build -- -w",
"pack": "npm run clean && npm run tsc_build && webpack --config config/webpack.config.js",
"server": "cross-env PROJECT_BUILD_ENV=dev webpack serve --progress --config config/webpack.config.js",
"//": "注释: dev命令将会开启2个进程,监听watch的方式,一个是webpack,一个是tsc",
"dev": "npm run tsc_build && concurrently npm:tsc_build_watch npm:server",
"start": "npm run clean && npm run tsc_build && npm run server & npm run tsc_build_watch",
"build": "cross-env PROJECT_BUILD_ENV=prd npm run pack"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "7.16.5",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.16.5",
"babel-loader": "8.2.3",
"clean-webpack-plugin": "^4.0.0",
"concurrently": "^6.5.1",
"core-js": "3.20.1",
"cross-env": "7.0.3",
"html-webpack-plugin": "^5.5.0",
"proxy-polyfill": "^0.3.2",
"terser-webpack-plugin": "^5.3.0",
"typescript": "^4.5.4",
"webpack": "5.65.0",
"webpack-cli": "4.9.1",
"webpack-dev-server": "4.7.1",
"whatwg-fetch": "3.6.2"
}
}