forked from storybookjs/builder-vite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
46 lines (46 loc) · 1.68 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
{
"name": "storybook-builder-vite-parent",
"version": "0.1.35",
"description": "A plugin to run and build Storybooks with Vite",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"build-examples": "yarn workspaces foreach -v --include 'example-*' -p run build-storybook",
"test-ci": "yarn workspaces foreach -v --exclude 'example-svelte' -p run test-ci",
"start": "cd packages/builder-vite && tsc -w",
"prepublish": "cd packages/builder-vite && tsc",
"lint": "yarn lint:prettier && yarn lint:eslint",
"lint:prettier": "prettier --write .",
"lint:eslint": "eslint \"**/*.{ts,tsx,js,jsx,mjs,cjs}\" --fix",
"lint-ci": "yarn lint-ci:prettier && yarn lint-ci:eslint",
"lint-ci:prettier": "prettier . --check",
"lint-ci:eslint": "eslint \"**/*.{ts,tsx,js,jsx,mjs,cjs}\" --max-warnings=0",
"example": "NODE_OPTIONS=--enable-source-maps yarn workspace example-${NAME:-vue} storybook",
"example:react": "NAME=react yarn example",
"example:react-ts": "NAME=react-ts yarn example",
"example:svelte": "NAME=svelte yarn example",
"example:vue": "NAME=vue yarn example",
"example:lit-ts": "NAME=lit-ts yarn example",
"example:workspaces": "NAME=workspaces yarn example"
},
"resolutions": {
"vue-loader": "16.4.1"
},
"workspaces": [
"examples/*",
"packages/*"
],
"devDependencies": {
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-only-warn": "^1.0.3",
"eslint-plugin-storybook": "^0.5.5",
"prettier": "^2.5.1",
"typescript": "^4.5.4"
}
}