-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 4.03 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 4.03 KB
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
{
"name": "draft-editor",
"version": "1.0.0",
"description": "a rich text editor based on draft-js",
"main": "src/index.tsx",
"repository": "git@github.com:zadzbw/draft-editor.git",
"keywords": [
"editor",
"draft-js"
],
"author": "zadzbw <609842385@qq.com>",
"license": "MIT",
"scripts": {
"test": "jest --config jest.js",
"dev": "NODE_ENV=development webpack-dev-server --config build/webpack/webpack.dev.config.js --colors",
"build": "NODE_ENV=production webpack --config build/webpack/webpack.prod.config.js --profile --colors",
"build:ts": "tsc",
"lint": "eslint --ext .js,.ts,.tsx src --format codeframe",
"lint:fix": "npm run lint -- --fix",
"format": "prettier-eslint src/**/*.{js,ts,tsx} --write"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.{js,ts,tsx}": [
"npm run format",
"git add"
]
},
"dependencies": {
"@babel/polyfill": "^7.0.0",
"@babel/runtime-corejs2": "^7.2.0",
"@fortawesome/fontawesome-svg-core": "^1.2.10",
"@fortawesome/free-brands-svg-icons": "^5.6.1",
"@fortawesome/free-solid-svg-icons": "^5.6.1",
"@fortawesome/react-fontawesome": "^0.1.3",
"antd": "^3.11.2",
"babel-plugin-import": "^1.11.0",
"classnames": "^2.2.6",
"core-js": "^2.6.0",
"draft-convert": "^2.1.4",
"draft-js": "^0.10.5",
"draft-js-focus-plugin": "^2.2.0",
"draft-js-plugins-editor": "^2.1.1",
"immutable": "3.7",
"lodash": "^4.17.11",
"raf": "^3.4.1",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-hot-loader": "^4.3.12"
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-decorators": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@types/classnames": "^2.2.6",
"@types/draft-js": "^0.10.26",
"@types/jest": "^23.3.10",
"@types/lodash": "^4.14.119",
"@types/node": "^10.12.14",
"@types/react": "^16.7.17",
"@types/react-dom": "^16.0.11",
"autoprefixer": "^9.4.2",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-plugin-lodash": "^3.3.4",
"brotli-webpack-plugin": "^1.0.0",
"clean-webpack-plugin": "^1.0.0",
"compression-webpack-plugin": "^2.0.0",
"css-loader": "^2.0.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"enzyme-to-json": "^3.3.5",
"eslint": "^5.10.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-typescript": "^0.14.0",
"fork-ts-checker-webpack-plugin": "^0.5.1",
"friendly-errors-webpack-plugin": "^1.7.0",
"happypack": "^5.0.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.2.0",
"identity-obj-proxy": "^3.0.0",
"inline-manifest-webpack-plugin": "^4.0.2",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.11.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-loader": "^3.0.0",
"prettier": "^1.15.3",
"prettier-eslint-cli": "^4.7.1",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"stylelint": "^9.9.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-webpack-plugin": "^0.10.5",
"ts-jest": "^23.10.5",
"typescript": "^3.2.2",
"typescript-eslint-parser": "^21.0.2",
"webpack": "^4.27.1",
"webpack-bundle-analyzer": "^3.0.2",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10",
"webpack-merge": "^4.1.5",
"webpackbar": "^3.1.4"
},
"engines": {
"node": ">= 8.6.0"
}
}