forked from huiyan-fe/mapv
-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
40 lines (40 loc) · 1.32 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
{
"name": "mapv",
"version": "2.0.0",
"description": "a library of geography visualization",
"main": "build/mapv.js",
"scripts": {
"publish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'` && cp build/mapv.js build/release/mapv.v${VERSION}.js && uglifyjs build/release/mapv.v${VERSION}.js -c drop_console -m -o build/release/mapv.v${VERSION}.min.js",
"mini": "npm run build && uglifyjs build/mapv.js -c -m -o build/mapv.min.js",
"build": "mkdir -p build && mkdir -p build/release && node -e 'process.stdout.write(\"export var version = \\\"\" + require(\"./package.json\").version + \"\\\";\\n\");' > build/version.js && rollup -c",
"watch": "npm-watch",
"test": "npm run watch"
},
"watch": {
"build": {
"patterns": [
"src",
"index.js"
],
"extensions": "js,jsx",
"ignore": ""
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/huiyan-fe/mapv.git"
},
"author": "huiyan-fe",
"license": "ISC",
"bugs": {
"url": "https://github.com/huiyan-fe/mapv/issues"
},
"homepage": "https://github.com/huiyan-fe/mapv#readme",
"devDependencies": {
"babel-preset-es2015-rollup": "^1.2.0",
"npm-watch": "^0.1.4",
"rollup": "^0.25.8",
"rollup-plugin-babel": "^2.4.0",
"uglify-js": "^2.6.2"
}
}