-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
24 lines (24 loc) · 1.17 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
{
"name": "vtour",
"version": "1.0.0",
"dependencies": {
"browserify": "^16.5.1",
"cpx": "^1.5.0",
"less": "^3.12.2",
"mkdirp": "^1.0.4",
"rimraf": "^3.0.2",
"uglify-es": "^3.3.9"
},
"scripts": {
"clean": "rimraf dist",
"mkdir": "mkdirp dist",
"assets": "cpx assets/*.png dist",
"less": "lessc assets/styles.less dist/vtour.css",
"js-debug": "browserify src/VTour.js --standalone VTOUR > dist/vtour.js",
"js-release": "browserify src/VTour.js --standalone VTOUR | uglifyjs -o dist/vtour.min.js",
"lib-debug": "cpx lib/three.js dist & cpx lib/OrbitControls.js dist",
"lib-release": "cpx lib/three.min.js dist & cpx lib/OrbitControls.js dist",
"build-debug": "npm run clean & npm run mkdir & npm run assets & npm run less & npm run js-debug & npm run lib-debug",
"build-release": "npm run clean & npm run mkdir & npm run assets & npm run less & npm run js-release & npm run lib-release"
}
}