-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 2.21 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
{
"name": "canvous-map",
"version": "1.0.0-alpha.18",
"description": "Start point for a javascript package",
"main": "packages/amap-binding/",
"scripts": {
"prebuild": "rimraf build demo/node_modules/canvous-map",
"dev:copy-files": "cross-env NODE_ENV=development babel-node ./script/copy-files.js",
"dev:es2015": "cross-env NODE_ENV=development babel ./packages/ -d ./demo/node_modules/canvous-map/ --ignore *.test.js",
"dev:es2015modules": "cross-env NODE_ENV=development BABEL_ENV=modules",
"dev:es": "cross-env NODE_ENV=development BABEL_ENV=es babel ./packages/ -d ./demo/node_modules/canvous-map/es/ --ignore *.test.js",
"dev": "yarn dev:es2015 && yarn dev:es2015modules && yarn dev:es",
"start": "yarn prebuild && yarn dev:copy-files && nodemon --exec yarn dev",
"build:copy-files": "cross-env NODE_ENV=production babel-node ./script/copy-files.js",
"build:es2015": "cross-env NODE_ENV=production babel ./packages/ -d ./build/ --ignore *.test.js",
"build:es2015modules": "cross-env NODE_ENV=production BABEL_ENV=modules",
"build:es": "cross-env NODE_ENV=production BABEL_ENV=es babel ./packages/ -d ./build/es/ --ignore *.test.js",
"build": "yarn build:es2015 && yarn build:es2015modules && yarn build:es && yarn build:copy-files",
"test": "jest",
"test:watch": "npm test -- --watch",
"preversion": "yarn test",
"version": "yarn build && npm publish build"
},
"repository": "[email protected]:daxianyu/canvous-map",
"author": "daxianyu <[email protected]>",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-jest": "^23.4.0",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
"cross-env": "^5.2.0",
"eslint": "^5.2.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-babel": "^5.2.0",
"eslint-plugin-import": "^2.14.0",
"fs-extra": "^7.0.0",
"jest": "^23.4.1",
"nodemon": "^1.18.3",
"rimraf": "^2.6.2"
},
"jest": {
"roots": [
"<rootDir>/src/"
]
},
"dependencies": {
"invariant": "^2.2.4",
"kd-tree-javascript": "^1.0.3"
}
}