-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
49 lines (49 loc) · 1.94 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
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "mapsv2",
"version": "1.0.0",
"description": "A new version of the hackupc maps. Now configured from data",
"main": "dist/index.html",
"scripts": {
"dist": "run-p dist:*",
"watch": "run-p serve dist watch:*",
"serve": "http-server docs",
"predist": "npm run clean && mkdirp docs/assets/js docs/assets/images docs/assets/models docs/assets/fonts",
"notify-update": "notify -t 'MapsV2' -m 'Dist updated' -s -i './src/favicon.ico'",
"dist:styles": "mkdirp docs/assets/css && run-p less:*",
"dist:scripts": "run-s scripts:*",
"dist:html": "cp src/*.html docs/",
"dist:fonts": "cp src/fonts/* docs/assets/fonts/",
"dist:favicon": "cp src/*.ico docs/",
"dist:models": "cp src/models/* docs/assets/models/",
"dist:images": "cp -R src/images/* docs/assets/images",
"scripts:compile": "tsc -m 'commonjs' -t 'es6' --outDir ./temp ./src/scripts/index.ts",
"scripts:bundle": "browserify temp/index.js > docs/assets/js/index.js",
"less:main": "lessc src/styles/imports.less docs/assets/css/main.css",
"watch:js": "onchange \"src/scripts/**/*\" -- npm-run-all dist:scripts notify-update",
"watch:css": "onchange \"src/styles\" -- npm-run-all dist:styles notify-update",
"watch:models": "onchange \"src/models\" -- npm-run-all dist:models notify-update",
"watch:html": "onchange \"src/*.html\" -- npm-run-all dist:html notify-update",
"clean": "rm -Rf dist"
},
"keywords": [
"maps"
],
"author": "Gerard del Castillo (@aslogd)",
"license": "MIT",
"dependencies": {
"@types/node": "^10.11.7",
"@types/three": "^0.93.1",
"browserify": "^16.2.3",
"http-server": "^0.11.1",
"less": "^3.8.1",
"node-notifier-cli": "^1.1.2",
"npm-run-all": "^4.1.3",
"onchange": "^5.0.2",
"orbit-controls-es6": "^2.0.0",
"path-to-regexp": "^2.4.0",
"three": "^0.97.0",
"three-fbx-loader": "^1.0.3",
"typescript": "^3.1.3",
"uglify-js": "^3.4.9"
}
}