-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
77 lines (77 loc) · 2.65 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "gokart-lite",
"description": "Leaflet project",
"author": "Rocky Chen <[email protected]>",
"license": "Apache-2.0",
"repository": "https://github.com/dbca-wa/gokart-lite",
"config": {
"app": "sss",
"description": "Lite Spatial Support System v3",
"version": "1.0.1"
},
"scripts": {
"serve": "uwsgi -i uwsgi.ini",
"build": "npm-run-all vendor_release app_release",
"build_dev": "npm-run-all vendor_dev app_dev",
"app_release": "python ./profile.py release && browserify --external src/vendor.js -e src/apps/$npm_package_config_app.js | uglifyjs -c warnings=false > dist/release/$npm_package_config_app.js",
"app_dev": "python ./profile.py dev && cross-env NODE_ENV=dev browserify -vd -d --external src/vendor.js -e src/apps/$npm_package_config_app.js | exorcist dist/dev/$npm_package_config_app.js.map > dist/dev/$npm_package_config_app.js",
"vendor_release": "cross-env NODE_ENV=production browserify -g browserify-css -r ./src/vendor.js:src/vendor.js | uglifyjs -c warnings=false -m > dist/release/vendor.js",
"vendor_dev": "cross-env NODE_ENV=dev browserify -d -g browserify-css -r ./src/vendor.js:src/vendor.js | exorcist dist/dev/vendor.js.map > dist/dev/vendor.js",
"lint": "eslint --ext .js,.vue src; exit 0",
"test": "karma start karma.conf.js"
},
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"es2015"
],
"plugins": [],
"only": "src"
}
],
"browserify-shim"
]
},
"browserify-shim": {
"jquery": "global:$"
},
"dependencies": {
"leaflet": "~1.2.0"
},
"devDependencies": {
"babel-core": "^6.0.0",
"babel-plugin-transform-runtime": "^6.0.0",
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.0.0",
"babel-preset-stage-2": "^6.0.0",
"babel-runtime": "^6.0.0",
"babelify": "^7.2.0",
"browserify": "^12.0.1",
"browserify-css": "^0.9.1",
"browserify-hmr": "^0.3.1",
"browserify-shim": "^3.8.12",
"cross-env": "^1.0.5",
"eslint": "^3.0.1",
"eslint-config-standard": "^5.3.5",
"eslint-plugin-html": "^1.1.0",
"eslint-plugin-promise": "^2.0.0",
"eslint-plugin-standard": "^2.0.0",
"eslint-plugin-vue": "^0.1.1",
"exorcist": "^0.4.0",
"http-server": "^0.9.0",
"jasmine-core": "^2.4.1",
"jquery": "~2.2.4",
"karma": "^0.13.15",
"karma-browserify": "^4.4.2",
"karma-jasmine": "^0.3.6",
"karma-phantomjs-launcher": "^1.0.0",
"karma-spec-reporter": "0.0.23",
"npm-run-all": "^1.6.0",
"phantomjs-prebuilt": "^2.1.3",
"proxyquireify": "^3.0.1",
"uglify-js": "^2.5.0"
}
}