-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
21 lines (21 loc) · 1016 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "sb-playgrounds",
"version": "0.0.1",
"description": "A list of my playgrounds for playing with ideas and learning new stuff.",
"author": "SuneBear <[email protected]>",
"license": "MIT",
"scripts": {
"start": "browser-sync start --server src --files src/**/*",
"copy": "cp -a src/. dist/ && rm -rf ./dist/games/nfb-wayfinder",
"build-wayfinder": "parcel build src/games/nfb-wayfinder/index.html --out-dir dist/games/nfb-wayfinder --public-url /SB-Playgrounds/games/nfb-wayfinder/",
"build-prw": "rm dist/games/peaceful-roguelike-wonderland/scripts.js && babel src/games/peaceful-roguelike-wonderland/scripts.js -o dist/games/peaceful-roguelike-wonderland/scripts.js -s --presets es2015",
"ghpages": "gh-pages -d dist",
"deploy": "npm run copy && npm run build-prw && npm run build-wayfinder && gh-pages -d dist"
},
"devDependencies": {
"babel-cli": "^6.22.2",
"babel-preset-es2015": "^6.22.0",
"browser-sync": "^2.18.6",
"gh-pages": "^0.11.0"
}
}