-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
36 lines (36 loc) · 1.36 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": "phaserdemo",
"version": "1.0.0",
"description": "",
"scripts": {
"start": "budo src/main.js:bundle.js --live -p 80 -- -d -e src/main.js -t [babelify --comments false --presets env]",
"prebuild": "mkdirp build && cp -rf src/env.build.json src/env.json",
"build": "npm run build:js && npm run build:css && npm run build:html && npm run copy:all",
"build:js": "browserify -d -e src/main.js -t [babelify --comments false --presets env] | uglifyjs -cm > build/bundle.min.js",
"build:css": "cleancss css/main.css -o build/main.min.css",
"build:html": "htmlprocessor index.html -o build/index.html",
"copy:all": "npm run copy:assets && npm run copy:phaser && npm run copy:jquery",
"copy:assets": "cp -rf assets build/",
"copy:phaser": "cp -rf node_modules/phaser-ce/build/phaser.min.js build/phaser.min.js",
"copy:jquery": "cp -rf node_modules/jquery/dist/jquery.min.js build/jquery.min.js"
},
"keywords": [],
"author": "Anselme CHOREIN",
"license": "GPLv3",
"dependencies": {
"jquery": "^3.1.1",
"phaser-ce": "^2.9.3"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babelify": "^8.0.0",
"babel-preset-env": "^1.6.1",
"browserify": "^14.5.0",
"budo": "^10.0.4",
"clean-css-cli": "^4.1.10",
"htmlprocessor": "^0.2.6",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
"uglify-js": "^3.1.6"
}
}