-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
137 lines (137 loc) · 4.37 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
{
"name": "docz-theme-ztopia",
"version": "0.1.12",
"description": "Write awesome documentation for UI components with Docz and Ztopia theme!",
"main": "index.js",
"resolutions": {
"docz/**/webpack": "4.28.4"
},
"scripts": {
"start": "docz dev",
"build-docs": "docz build && yarn create-200",
"build:dev": "NODE_ENV=development rollup -c --watch",
"build:prod": "NODE_ENV=production rollup -c",
"post-build": "cp -a ./public ./dist/public && cp ./package.json ./dist/package.json && cp ./README.md ./dist/README.md",
"clean": "rm -rf node_modules .docz yarn.lock",
"release": "yarn build:prod && bump --commit && yarn post-build && cd ./dist && npm publish && cd ..",
"release:dryrun": "yarn build:prod && yarn post-build && cd ./dist && npm pack && cd ..",
"deploy": "yarn build-docs && surge --domain docz-theme-ztopia.surge.sh ./.docz/dist",
"create-200": "cp ./.docz/dist/index.html ./.docz/dist/200.html",
"format:all": "prettier --write \"**/*.{js,jsx,ts,tsx,css,json,yml,md}\" --ignore-path ./.prettierignore && stylelint --fix \"./src/**/*.css\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/zicodeng/docz-theme-ztopia.git"
},
"author": "Zico Deng",
"license": "ISC",
"bugs": {
"url": "https://github.com/zicodeng/docz-theme-ztopia/issues"
},
"homepage": "http://docz-theme-ztopia.surge.sh",
"keywords": [
"react",
"ui",
"docz",
"plugin",
"docz-plugin",
"docs",
"documentation",
"documentation-tool",
"theme",
"docz-theme"
],
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.19",
"@fortawesome/free-regular-svg-icons": "^5.9.0",
"@fortawesome/free-solid-svg-icons": "^5.9.0",
"@fortawesome/react-fontawesome": "^0.1.4",
"chalk": "^2.4.2",
"classnames": "^2.2.6",
"codemirror": "^5.47.0",
"docz": "^1.2.0",
"lodash-es": "^4.17.14",
"normalize.css": "^8.0.1",
"prop-types": "^15.7.2",
"re-resizable": "^5.0.0",
"react-codemirror2": "^6.0.0",
"react-frame-component": "^4.1.0",
"react-live": "^2.1.2"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@types/lodash-es": "^4.17.3",
"@types/react": "^16.14.0",
"@types/react-fontawesome": "^1.6.4",
"@typescript-eslint/eslint-plugin": "^2.3.0",
"@typescript-eslint/parser": "^2.3.0",
"autoprefixer": "^9.5.1",
"css-loader": "^3.0.0",
"cssnano": "^4.1.10",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-prettier": "^3.1.1",
"fs-extra": "^8.0.1",
"husky": "^2.4.0",
"lint-staged": "^8.2.0",
"mini-css-extract-plugin": "^0.7.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-custom-media": "^7.0.8",
"postcss-extend-rule": "^2.0.0",
"postcss-import": "^12.0.1",
"postcss-import-url": "^4.0.0",
"postcss-loader": "^3.0.0",
"postcss-nested": "^4.1.2",
"postcss-simple-vars": "^5.0.2",
"prettier": "^2.2.1",
"rollup": "^1.13.1",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-copy": "^3.1.0",
"rollup-plugin-node-resolve": "^5.0.1",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-progress": "^1.1.1",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.0.0",
"rollup-plugin-typescript2": "^0.22.1",
"rollup-plugin-url": "^2.2.1",
"style-loader": "^0.23.1",
"stylelint": "^11.0.0",
"stylelint-config-prettier": "^5.2.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^18.3.0",
"stylelint-order": "^3.1.1",
"stylelint-prettier": "^1.1.1",
"surge": "^0.21.3",
"terser-webpack-plugin": "^1.3.0",
"typescript": "^3.4.5",
"version-bump-prompt": "^5.0.2",
"webpack-filter-warnings-plugin": "^1.2.1"
},
"peerDependencies": {
"docz": "^1.2.0",
"react": "^16.14.0",
"react-dom": "^16.14.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.css": [
"prettier --write",
"stylelint --fix",
"git add"
],
"*.{js,jsx,ts,tsx,json,yml,md}": [
"prettier --write",
"git add"
]
}
}