-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
34 lines (34 loc) · 1.19 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
{
"name": "first",
"version": "1.0.0",
"description": "",
"scripts": {
"start": "budo src/main.js:bundle.js --live -- -d -e src/main.js -t [babelify --comments false --presets es2015]",
"prebuild": "mkdirp build",
"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 es2015] | 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",
"copy:assets": "ncp assets build/assets/",
"copy:phaser": "ncp node_modules/phaser/build/phaser.min.js build/phaser.min.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"phaser": "^2.6.2"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babelify": "^7.3.0",
"babel-preset-es2015": "^6.24.1",
"browserify": "^14.3.0",
"budo": "^10.0.3",
"clean-css": "^3.4.17",
"htmlprocessor": "^0.2.3",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
"uglify-js": "^2.6.2"
}
}