-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
83 lines (83 loc) · 3.46 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
78
79
80
81
82
83
{
"name": "nextzen.js",
"version": "1.0.0",
"description": "Javascript SDK for Nextzen products",
"main": "src/js/nextzen.js",
"directories": {
"test": "test"
},
"files": "dist/*",
"scripts": {
"test": "karma start test/karma.conf.js --log-level debug --single-run",
"lint": "eslint ./src/js/* ./test/*.js; exit 0;",
"build-style": "node-sass --output-style compressed -o dist/ src/scss/nextzen.scss; mkdir -p dist/images;cp -r node_modules/leaflet/dist/images/* dist/images/; cp -r node_modules/leaflet-geocoder-mapzen/dist/images/* dist/images/",
"build-standalone-style": "node-sass --output-style compressed -o dist/ src/scss/nextzen.standalone.scss; mkdir -p dist/images; cp -r node_modules/mapzen-scarab/src/images/* dist/images/; cp -r node_modules/leaflet/dist/images/* dist/images/; cp -r node_modules/leaflet-geocoder-mapzen/dist/images/* dist/images/",
"build-dev-style": "node-sass --output-style compressed -o dist/ src/scss/nextzen.css -w; cp -R node_modules/mapzen-scarab/src/images dist/images; cp -r node_modules/leaflet/dist/images/* dist/images/;",
"dev": "watchify ./src/js/nextzen.js -o dist/nextzen.js -v;",
"build-standalone": "browserify -t [browserify-shim --global] ./src/js/nextzen.js --standalone Mapzen > dist/nextzen.standalone.js && browserify -t [browserify-shim --global] -t uglifyify ./src/js/nextzen.js --standalone Mapzen | uglifyjs -c comparisons=false -m > dist/nextzen.standalone.min.js && npm run-script build-standalone-style",
"build": "browserify ./src/js/nextzen.js > dist/nextzen.js && browserify -t uglifyify ./src/js/nextzen.js | uglifyjs -c comparisons=false -m > dist/nextzen.min.js && npm run-script build-style",
"prepublishOnly": "npm run build-standalone; npm run build"
},
"browserify-shim": {
"leaflet": "global:L"
},
"dependencies": {
"@mapbox/corslite": "0.0.7",
"leaflet": "1.3.0",
"leaflet-control-geocoder": "^1.5.4",
"leaflet-geocoder-mapzen": "^1.9.4",
"leaflet-routing-machine": "^3.2.7",
"leaflet.locatecontrol": "^0.60.0",
"lrm-mapzen": "^1.3.5",
"mapzen-scarab": "git+https://github.com/hanbyul-here/scarab.git",
"tangram": "^0.15.3"
},
"devDependencies": {
"babel-preset-es2015": "^6.13.2",
"babelify": "^7.3.0",
"benchmark": "^2.1.0",
"browserify": "^13.1.0",
"browserify-istanbul": "^2.0.0",
"browserify-shim": "^3.8.12",
"eslint": "^2.8.0",
"eslint-config-semistandard": "^6.0.1",
"eslint-config-standard": "^5.2.0",
"eslint-plugin-promise": "^1.1.0",
"eslint-plugin-standard": "^1.3.2",
"expect.js": "^0.3.1",
"happen": "^0.3.1",
"istanbul": "^0.4.3",
"karma": "^0.13.22",
"karma-browserify": "^5.1.0",
"karma-browserstack-launcher": "^0.1.11",
"karma-coverage": "^0.5.5",
"karma-coveralls": "^1.1.2",
"karma-mocha": "^0.2.2",
"karma-phantomjs-launcher": "^1.0.0",
"karma-requirejs": "^0.2.6",
"mocha": "^2.4.5",
"node-sass": "^3.7.0",
"phantomjs-prebuilt": "^2.1.7",
"publish": "^0.6.0",
"requirejs": "^2.2.0",
"sinon": "^1.17.3",
"uglify-js": "^3.1.8",
"uglifyify": "^4.0.4",
"watchify": "^3.7.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nextzen/nextzen.js.git"
},
"author": "MAPZEN",
"license": "MIT",
"bugs": {
"url": "https://github.com/nextzen/nextzen.js/issues"
},
"homepage": "https://github.com/nextzen/nextzen.js",
"keywords": [
"map",
"mapzen",
"eraser map"
]
}