This repository was archived by the owner on Jan 5, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 3.17 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 3.17 KB
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
84
85
86
{
"name": "carto.js",
"version": "1.0.0",
"description": "Carto library",
"repository": {
"type": "git",
"url": ""
},
"main": "dist/carto.debug.js",
"homepage": "https://github.com/cartodb/carto.js",
"keywords": [
"maps",
"graphics",
"rendering",
"visualization",
"WebGL",
"OpenStreetMap",
"cartocss",
"carto",
"yaml"
],
"scripts": {
"start": "npm run watch",
"test": "npm run lint && npm run build-test && npm run test-local",
"test-ci": "npm run lint && npm run build-test && npm run test-remote",
"test-remote": "./node_modules/karma/bin/karma start --browsers Chrome_travis_ci --single-run",
"test-local": "./node_modules/karma/bin/karma start --browsers Chrome --single-run",
"test-local-debug": "./node_modules/karma/bin/karma start --browsers Chrome --single-run=false --debug",
"karma-start": "./node_modules/karma/bin/karma start --browsers Chrome --no-watch",
"karma-run": "./node_modules/karma/bin/karma run --browsers Chrome",
"lint": "$(npm bin)/jshint src/ && jshint test/",
"build": "npm run build-bundle -- -o dist/carto.debug.js && npm run build-minify",
"build-test": "npm run build-bundle -- -o dist/carto.test.js",
"build-debug": "npm run build-bundle -- -o dist/carto.debug.js",
"build-bundle": "$(npm bin)/browserify src/module.js -t [ babelify --presets [ es2015 ] --plugins transform-runtime ] -t brfs -s Carto -p browserify-derequire --debug",
"build-minify": "$(npm bin)/uglifyjs dist/carto.debug.js -c warnings=false -m -o dist/carto.min.js && npm run build-size",
"build-size": "gzip dist/carto.min.js -c | wc -c | awk '{kb=$1/1024; print kb}' OFMT='%.0fk minified+gzipped'",
"watch": "$(npm bin)/budo src/module.js:dist/carto.debug.js demos/main.js:dist/main.js --port 8000 --cors --live -- -t [ babelify --presets [ es2015 ] --plugins transform-runtime ] -t brfs -s Carto",
"build-demo": "$(npm bin)/browserify demos/main.js -t [ babelify --presets [ es2015 ] --plugins transform-runtime ] -t brfs -s main -p browserify-derequire --debug"
},
"author": {
"name": "Carto",
"email": "support@carto.com"
},
"contributors": [
{
"name": "Francisco López",
"email": "donflopez@gmail.com"
}
],
"license": "MIT",
"dependencies": {
"babel-runtime": "6.23.0",
"leaflet": "1.0.3",
"mithril": "1.0.1",
"mobx": "^3.1.5",
"ramda": "0.23.0",
"tangram": "tangrams/tangram#master"
},
"devDependencies": {
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-es2015": "6.22.0",
"babelify": "7.3.0",
"brfs": "^1.4.3",
"browserify": "14.1.0",
"browserify-derequire": "0.9.4",
"budo": "9.4.7",
"chai": "3.5.0",
"chai-as-promised": "6.0.0",
"docdown": "^0.7.2",
"eslint": "^3.17.1",
"glob": "7.1.1",
"jshint": "2.9.4",
"karma": "1.4.0",
"karma-browserify": "5.1.1",
"karma-chrome-launcher": "2.0.0",
"karma-mocha": "1.3.0",
"karma-mocha-reporter": "2.2.1",
"karma-sauce-launcher": "tangrams/karma-sauce-launcher#firefox-profiles",
"karma-sinon": "1.0.4",
"mocha": "3.2.0",
"sinon": "1.17.6",
"uglify-js": "2.7.5",
"yargs": "6.6.0"
}
}