-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
147 lines (147 loc) · 4.51 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "snake-design",
"version": "0.0.1",
"description": "基于 hooks 搭建的 PC 端组件库",
"homepage": "https://github.com/front-swordsman/snake-design",
"keywords": [
"hooks",
"react",
"component",
"components",
"ui",
"typescript",
"frontend"
],
"repository": {
"type": "git",
"url": "https://github.com/front-swordsman/snake-design"
},
"bugs": {
"url": "https://github.com/front-swordsman/snake-design/issues"
},
"typings": "./types/index.d.ts",
"license": "MIT",
"main": "dist/snake-design.js",
"scripts": {
"start": "yarn build-dll && webpack-dev-server --config webpack/webpack.dev.conf.js --colors",
"build": "tsc -p tsconfig.json && webpack --config webpack/webpack.prod.conf.js",
"build-docs": "webpack --config webpack/docs.config.js",
"build-dll": "webpack --config ./webpack/webpack.dll.config.js",
"test": "jest --config jest.config.js --verbose",
"test:coverage": "jest --coverage",
"cov": "jest --coverage",
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch",
"test-update": "jest --updateSnapshot",
"style-fix": "stylelint \"components/**/*.scss\" --syntax scss --fix",
"publish-doc": "node ./scripts/publishdoc.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"components/**/*.tsx": [
"prettier --write",
"tslint --config tslint.json --fix",
"git add"
],
"components/**/*.scss": [
"stylelint --syntax scss --fix",
"git add"
]
},
"module": "es/index.js",
"dependencies": {
"classnames": "^2.2.5",
"normalize.css": "^7.0.0",
"react-spring": "^8.0.18",
"react-transition-group": "^4.0.0",
"warning": "^4.0.3"
},
"devDependencies": {
"@babel/preset-react": "^7.0.0",
"@types/chai": "^4.0.4",
"@types/classnames": "^2.2.3",
"@types/enzyme": "^3.1.5",
"@types/enzyme-adapter-react-16": "^1.0.1",
"@types/enzyme-to-json": "^1.5.0",
"@types/jest": "^20.0.8",
"@types/react": "^16.8.13",
"@types/react-dom": "^16.8.4",
"@types/react-router-dom": "^4.0.7",
"@types/react-transition-group": "^2.9.0",
"@types/warning": "^3.0.0",
"@types/webpack-env": "^1.13.2",
"at-ui-style": "^1.5.1",
"awesome-typescript-loader": "^5.2.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"clean-webpack-plugin": "^0.1.17",
"commitlint": "^7.5.2",
"concurrently": "^3.4.0",
"copy-to-clipboard": "^3.0.8",
"css-loader": "^0.28.7",
"ejs": "^2.5.7",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"enzyme-to-json": "^3.1.2",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react-hooks": "^1.6.0",
"express": "^4.16.2",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^0.11.2",
"friendly-errors-webpack-plugin": "^1.6.1",
"front-matter": "^3.0.1",
"gh-pages": "^2.0.1",
"highlight.js": "^9.15.6",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.1",
"identity-obj-proxy": "^3.0.0",
"is-ci-cli": "^1.1.1",
"jest": "^24.5.0",
"jest-dom": "^3.1.3",
"jest-watch-typeahead": "^0.2.1",
"jsdom": "^11.4.0",
"lint-staged": "^8.1.5",
"loader-utils": "^1.2.3",
"markdown-it": "^8.4.2",
"markdown-it-container": "^2.0.0",
"node-sass": "^4.5.3",
"open-browser-webpack-plugin": "^0.0.5",
"postcss-cssnext": "^3.0.2",
"postcss-loader": "^2.0.6",
"prettier": "^1.16.4",
"raw-loader": "^0.5.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-prism": "^4.3.2",
"react-router-dom": "^4.2.2",
"react-testing-library": "^6.1.2",
"sass-loader": "^6.0.6",
"sinon": "^4.0.1",
"style-loader": "^0.18.2",
"stylelint": "^9.10.1",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-scss": "^3.5.4",
"ts-jest": "^24.0.1",
"tslint": "^5.7.0",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^4.1.1",
"tslint-react": "^3.2.0",
"typescript": "^3.4.1",
"uglifyjs-webpack-plugin": "^1.1.4",
"url-loader": "^0.5.9",
"validate-commit-msg": "^2.12.1",
"webpack": "^4.29.6",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.2.1",
"webpack-parallel-uglify-plugin": "^1.0.0"
}
}