-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
36 lines (36 loc) · 1.61 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
{
"name": "g2d",
"version": "3.1.0",
"description": "g2 - a tiny 2d graphics command library",
"keywords": [
"vector",
"graphics",
"2d",
"command queue",
"canvas",
"svg",
"javascript"
],
"main": "g2.js",
"scripts": {
"build": "npm run minify && npm run jsdoc && npm run 7z",
"minify": "uglifyjs ./src/g2.core.js ./src/g2.hdl.canvas.js ./src/g2.lib.js ./src/g2.ext.js ./src/g2.mec.js ./src/g2.chart.js -o ./dist/g2.js --comments",
"concat": "concat ./src/g2.core.js ./src/g2.hdl.canvas.js ./src/g2.lib.js ./src/g2.ext.js ./src/g2.mec.js ./src/g2.chart.js >./dist/g2.full.js",
"jsdoc": "jsdoc2md ./src/g2.core.js > ./docs/api/g2.core.md && jsdoc2md ./src/g2.mec.js > ./docs/api/g2.mec.md && jsdoc2md ./src/g2.ext.js > ./docs/api/g2.ext.md && jsdoc2md ./src/g2.chart.js > ./docs/api/g2.chart.md",
"g2.html": "concat ./src/g2.core.js ./src/g2.hdl.canvas.js ./src/g2.io.js ./src/g2.lib.js ./src/g2.ext.js ./src/g2.mec.js ./src/g2.selector.js ./bin/canvasInteractor.js ./src/g2.element.js >./dist/g2.html.js",
"g2.chart.html": "concat ./src/g2.core.js ./src/g2.hdl.canvas.js ./src/g2.io.js ./src/g2.lib.js ./src/g2.ext.js ./src/g2.chart.js ./src/g2.selector.js ./bin/canvasInteractor.js ./src/g2.chart.element.js > ./dist/g2.chart.html.js",
"7z": "7z -tgzip a ./g2.min.js.gz ./g2.min.js"
},
"author": "Stefan Goessner <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/goessner/g2.git"
},
"license": "MIT",
"microjam": {},
"devDependencies": {
"concat": "^1.0.0",
"jsdoc-to-markdown": "^5.0.3",
"uglify-es": "^3.3.9"
}
}