-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
28 lines (28 loc) · 1022 Bytes
/
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
{
"name": "js13kgames-parcel-starter",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {},
"scripts": {
"start": "yarn serve",
"serve": "yarn parcel index.html",
"check-file-size": "yarn node ./scripts/check-file-size.js",
"delete-dist": "yarn rimraf ./dist",
"create-dist": "yarn mkdirp ./dist/inlined ./dist/zipped",
"parcel-build": "yarn parcel build index.html -d ./dist/bundled --no-source-maps",
"inline-build": "html-inline -i ./dist/bundled/index.html -o ./dist/inlined/index.html",
"build": "yarn run delete-dist && yarn run create-dist && yarn run parcel-build && yarn run inline-build",
"build-zipped": "yarn run build && yarn node ./scripts/zip-file.js",
"party": "yarn run build-zipped && yarn run check-file-size"
},
"devDependencies": {
"archiver": "^2.1.1",
"chalk": "^2.4.1",
"cssnano": "^4.0.3",
"html-inline": "^1.2.0",
"mkdirp": "^0.5.1",
"parcel-bundler": "^1.9.7",
"rimraf": "^2.6.2"
}
}