forked from egoist/demoboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.08 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
{
"name": "demoboard",
"version": "0.3.1",
"description": "Demonstrating your React/Vue components with ease.",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"files": [
"dist"
],
"scripts": {
"test": "npm run lint",
"lint": "xo",
"demo": "poi --config demo/poi.config.js -s",
"build:demo": "poi --config demo/poi.config.js --prod",
"toc": "markdown-toc -i README.md",
"build": "bili",
"prepublishOnly": "npm run build"
},
"repository": {
"url": "egoist/demoboard",
"type": "git"
},
"author": "egoist<[email protected]>",
"license": "MIT",
"dependencies": {
"@emotion/core": "^10.0.14",
"prism-react-renderer": "^0.1.7",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-markdown": "^4.1.0",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"slugo": "^0.2.3"
},
"devDependencies": {
"@emotion/babel-preset-css-prop": "^10.0.14",
"bili": "^4.8.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-rem": "^4.0.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.14.2",
"husky": "^3.0.0",
"lint-staged": "^9.1.0",
"markdown-toc": "^1.2.0",
"poi": "^12.7.1-canary.585.f015dbf.0",
"prettier": "^1.15.2",
"raw-loader": "^3.0.0",
"rollup-plugin-vue": "^5.0.1",
"vue-template-compiler": "^2.6.10",
"xo": "^0.24.0"
},
"xo": {
"extends": [
"rem",
"plugin:react/recommended",
"plugin:prettier/recommended"
],
"envs": [
"browser"
],
"rules": {
"unicorn/filename-case": "off",
"react/prop-types": "off",
"react/display-name": "off",
"import/no-unassigned-import": "off",
"import/no-webpack-loader-syntax": "off",
"unicorn/no-abusive-eslint-disable": "off"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"xo --fix",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
],
"README.md": [
"markdown-toc -i",
"git add"
]
}
}