-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
81 lines (81 loc) · 2.92 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "@awayfl/awayfl-template",
"version": "0.0.0",
"description": "Template project for AwayFL Player",
"scripts": {
"rimraf": "rimraf",
"rollup": "rollup -c",
"webpack": "webpack",
"clean": "npm cache clean && npm run rimraf -- node_modules bin",
"clean:bin": "npm run rimraf -- bin",
"clean:libs": "npm run rimraf -- libs",
"preclean:install": "npm run clean",
"clean:install": "npm set progress=false && npm install",
"preclean:start": "npm run clean",
"clean:start": "npm start",
"watch": "npm run watch:dev",
"watch:dev": "npm run build:dev -- --watch",
"watch:dev:hmr": "npm run watch:dev -- --hot",
"watch:test": "npm run test -- --auto-watch --no-single-run",
"watch:prod": "npm run build:prod -- --watch",
"build": "npm run build:dev",
"prebuild:dev": "npm run clean:bin",
"build:dev": "webpack --config webpack.config.js --progress",
"prebuild:prod": "npm run clean:bin",
"build:prod": "webpack --config webpack.config.js --progress --env prod",
"server": "npm run server:dev",
"server:dev": "webpack-dev-server --config webpack.config.js --progress --watch",
"server:dev:hmr": "npm run server:dev -- --hot",
"server:prod": "http-server bin --cors",
"start": "npm run server:dev",
"start:hmr": "npm run server:dev:hmr",
"yarnImport": "npm run rimraf -- yarn.lock && yarn import && git add ./yarn.lock && git commit -m \"update yarn.lock file\" || exit 0",
"copyVersionToIndex": "node ./node_modules/@awayfl/awayfl-player/scripts/copyVersionToIndex.js /src/Main.ts && git add ./src/Main.ts && git commit -m \"update version number in Main.ts\"",
"addVersion": "git add ./package.json && cross-var git commit -m \"$npm_package_name v$npm_package_version\"",
"version": "npm run yarnImport && npm run copyVersionToIndex && npm run build:prod",
"postversion": "npm run addVersion && git push"
},
"keywords": [
"AwayJS",
"3D",
"2D",
"graphics",
"WebGL"
],
"author": "Rob Bateman",
"license": "Apache-2.0",
"dependencies": {
"@awayfl/avm1": "^0.2.0",
"@awayfl/avm2": "^0.2.0",
"@awayfl/awayfl-player": "^0.2.0",
"@awayfl/playerglobal": "^0.2.0",
"@awayfl/swf-loader": "^0.4.0",
"@awayjs/core": "^0.9.0",
"@awayjs/graphics": "^0.5.0",
"@awayjs/materials": "^0.6.0",
"@awayjs/renderer": "^0.11.0",
"@awayjs/scene": "^0.13.0",
"@awayjs/stage": "^0.11.0",
"@awayjs/view": "^0.6.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"copy-webpack-plugin": "^11.0.0",
"cross-var": "^1.1.0",
"html-webpack-plugin": "^5.5.0",
"rimraf": "^4.4.0",
"rollup": "^2.79.1",
"rollup-plugin-gzip": "^3.1.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.0",
"terser-webpack-plugin": "^5.3.7",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"webpack": "^5.76.2",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.12.0",
"webpack-merge": "^5.8.0"
}
}