forked from antvis/G
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 2.94 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"private": true,
"workspaces": [
"packages/*"
],
"repository": {
"type": "git",
"url": "[email protected]:antvis/g.git"
},
"author": "",
"license": "ISC",
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run build",
"contributor": "git-contributor",
"link": "lerna link",
"lint": "npm run eslint && npm run tslint",
"eslint": "eslint --ext .html,.js ./packages",
"eslint-fix": "eslint --fix --ext .html,.js ./packages",
"tslint": "tslint ./packages/**/*.ts",
"tslint-fix": "tslint ./packages/**/*.ts --fix",
"lint-staged": "lint-staged",
"prettier": "prettier --write './packages/**/*.{js,ts,md}'",
"test": "lerna run test",
"ci": "npm run lint && npm run bootstrap && npm run build && npm run test",
"pre-publish": "npm run lint && rm -rf node_modules && npm install && npm run bootstrap",
"postversion": "npm run build",
"publish": "lerna publish",
"publish-beta": "npm run pre-publish && lerna publish --dist-tag beta",
"start": "npm run site:develop",
"site:develop": "gatsby develop --open -H 0.0.0.0",
"site:build": "npm run site:clean && gatsby build --prefix-paths",
"site:clean": "gatsby clean",
"site:deploy": "npm run site:build && gh-pages -d public"
},
"lint-staged": {
"**/*.{js,ts,md}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS && npm run lint"
}
},
"dependencies": {
"@antv/gatsby-theme-antv": "^0.10.17",
"@antv/istanbul": "0.0.0",
"@antv/torch": "^1.0.0",
"gatsby": "^2.15.34",
"lodash": "^4.17.11",
"ptz-i18n": "^1.0.0",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"tslib": "^1.10.0"
},
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-typescript": "^7.1.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-angular": "^9.0.1",
"@types/lodash": "^4.14.119",
"@types/node": "^10.12.18",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"benchmark": "^2.1.4",
"chai": "^4.2.0",
"eslint": "^5.10.0",
"eslint-config-egg": "^7.1.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-html": "^5.0.0",
"gh-pages": "^3.1.0",
"git-contributor": "~1.0.8",
"husky": "^4.2.5",
"lerna": "^3.4.3",
"less": "^3.9.0",
"lint-staged": "^10.2.2",
"prettier": "^2.0.5",
"source-map-support": "^0.5.9",
"ts-loader": "^7.0.5",
"ts-node": "^7.0.1",
"tslint": "^6.1.2",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.2.2",
"webpack": "^4.26.1",
"webpack-cli": "^3.1.2"
}
}