forked from vue-styleguidist/vue-styleguidist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
137 lines (137 loc) · 4.14 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
{
"private": true,
"homepage": "https://github.com/vue-styleguidist/vue-styleguidist",
"repository": {
"type": "git",
"url": "git+https://github.com/vue-styleguidist/vue-styleguidist.git"
},
"bugs": {
"url": "https://github.com/vue-styleguidist/vue-styleguidist/issues"
},
"scripts": {
"pretest": "pnpm lint",
"test": "pnpm test:jest -- --maxWorkers=2 && pnpm test:plugin",
"test:jest": "jest",
"test:perf": "node ./packages/vue-docgen-api/tests/perf-test.js",
"test:plugin": "rimraf ./test/cli-packages/* && jest --config=./jest.config.plugin.js --runInBand",
"posttest": "pnpm format",
"format": "prettier --write docs packages/**/*.{js,md,vue,ts,tsx} examples/**/*.{js,md,vue,ts}",
"test:coverage": "jest --coverage",
"start": "./start.sh server",
"build": "./start.sh build",
"lint": "eslint . --cache --fix --ext .ts,.tsx,.js --cache-location node_modules/.eslint_cache/",
"compile": "pnpm recursive run compile",
"test:browser": "node test/browser.js",
"precommit": "lint-staged",
"cy:open": "cypress open",
"cy:serve": "node test/run.server.js",
"cy:run": "cypress run --spec \"test/cypress/integration/$CY_EXAMPLE_FOLDER/*spec.js\"",
"cy": "start-server-and-test cy:serve http://localhost:6060 cy:run",
"predocs": "node ./docs/.vuepress/preprocess.js",
"docs": "vuepress dev docs",
"docs:build": "node ./docs/.vuepress/preprocess.js && vuepress build docs",
"maketypes": "babel packages/vue-styleguidist/src/scripts/schemas/config.ts --out-file packages/vue-styleguidist/lib/scripts/schemas/config.js && node packages/vue-styleguidist/maketypes.js",
"postinstall": "pnpm compile"
},
"license": "MIT",
"engines": {
"node": ">=9",
"npm": ">=5"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.13.0",
"@babel/runtime": "^7.13.10",
"@commitlint/cli": "^7.6.1",
"@commitlint/config-conventional": "^7.6.0",
"@types/jest": "^23.3.14",
"@types/node": "13.11.1",
"babel-jest": "^25.5.1",
"clipboard": "^2.0.8",
"core-js": "^3.9.1",
"cross-env": "^5.2.1",
"danger": "^10.6.3",
"deabsdeep": "^2.0.1",
"deepcopy": "^2.1.0",
"deepfreeze": "^2.0.0",
"ejs": "^2.7.4",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.1",
"eslint": "^7.22.0",
"eslint-config-tamia": "^7.2.6",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-compat": "^3.9.0",
"eslint-plugin-es5": "^1.5.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-react": "^7.23.0",
"eslint-plugin-vue": "^6.2.2",
"globby": "^9.2.0",
"jest": "^26.6.3",
"jest-serializer-html": "^7.0.0",
"jss": "^10.6.0",
"lint-staged": "^7.3.0",
"markdown-toc": "^1.2.0",
"node-fetch": "^2.6.1",
"prettier": "^2.2.1",
"property-information": "^5.6.0",
"puppeteer": "^1.20.0",
"raf": "^3.4.1",
"react-test-renderer": "^16.14.0",
"rimraf": "^2.7.1",
"semver": "^5.7.1",
"start-server-and-test": "^1.12.1",
"strip-shebang": "^1.0.2",
"ts-jest": "^26.5.4",
"tslib": "^2.1.0",
"typescript": "^4.2.3",
"vuepress": "^1.8.2",
"vue-styleguidist": "^4.36.1",
"webpack-dev-server": "^3.11.2",
"yorkie": "^2.0.0"
},
"keywords": [
"vue",
"styleguide",
"style guide",
"documentation",
"docs",
"generator",
"component",
"components"
],
"lint-staged": {
"(*.js|*.ts)": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.md": [
"prettier --write",
"git add"
],
"packages/vue-styleguidist/src/scripts/schemas/config.ts": [
"pnpm run maketypes",
"git add ./packages/vue-styleguidist/src/types/StyleGuide.ts"
]
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E GIT_PARAMS"
},
"browserslist": [
"last 2 Chrome versions",
"last 2 Opera versions",
"last 2 Firefox versions",
"last 2 Edge versions",
"last 1 Safari version",
"IE >= 11"
]
}