-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
41 lines (40 loc) · 1.45 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
{
"name": "impact",
"version": "0.1.1",
"description": "Survive the crash!",
"main": "impact.js",
"repository": "https://github.com/deciduously/impact",
"author": "deciduously <github@deciduously.com>",
"license": "MIT",
"scripts": {
"build:js": "rollup -c",
"build:rs": "cargo web deploy --release",
"build:scss": "node-sass --include-path scss scss/impact.scss css/impact.css",
"build:css": "postcss --use autoprefixer -o static/impact.css css/impact.css",
"build:style": "run-s build:scss build:css",
"build:copy": "cp css/impact.css release/ && cp target/deploy/impact.wasm release/ && cp target/deploy/index.html release/ && cp target/deploy/favicon.ico release/",
"build": "run-s clean:deploy build:rs build:js build:style build:copy",
"clean:deploy": "rm -rf /release",
"prod": "run-s build serve",
"serve": "serve -p 8080 release",
"watch:rs": "cargo web start --release",
"test": "echo \"Error: no tests!\" && exit 1"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"@babel/preset-env": "^7.8.6",
"@rollup/plugin-wasm": "^3.0.0",
"autoprefixer": "^9.7.4",
"cssnano": "^4.1.10",
"node-sass": "^4.13.1",
"npm-run-all": "^4.1.5",
"postcss": "^7.0.27",
"postcss-cli": "^7.1.0",
"postcss-scss": "^2.0.0",
"rollup": "^1.31.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-postcss": "^2.1.1",
"rollup-plugin-uglify": "^6.0.4",
"serve": "^11.3.0"
}
}