generated from idesigncode/template-esm-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 3.88 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
{
"name": "@idesigncode/storybook-tools",
"version": "3.0.2",
"description": "A collection of ESM tools to document component implementation examples in Storybook.",
"keywords": [
"react",
"css",
"storybook",
"esm",
"mjs"
],
"license": "MIT",
"author": "Matthew Nuthall",
"repository": "github:idesigncode/storybook-tools",
"bugs": "https://github.com/idesigncode/storybook-tools/issues",
"homepage": "https://github.com/idesigncode/storybook-tools#readme",
"engines": {
"node": ">= 18.0.0"
},
"browserslist": [
"> 0.2%",
"last 2 versions"
],
"scripts": {
"eslint": "eslint . --ext .js,.cjs,.mjs --fix --ignore-path .gitignore",
"prepare": "npm run prepare:clean && npm run prepare:css && npm run prepare:js && husky install",
"prepare:clean": "node .npm-prepare-clean.cjs",
"prepare:css": "sass --no-source-map src:. && postcss *.css -d .",
"prepare:js": "babel src --out-dir . --ignore **/*.test.mjs,**/*.stories.mjs --keep-file-extension",
"prepublishOnly": "npm run test",
"prettier": "prettier --write . --ignore-path .gitignore",
"storybook": "storybook dev --ci -p 6006",
"storybook:build": "storybook build --quiet --docs",
"storybook:start": "npx http-server ./storybook-static -p 6006",
"test": "npm run test:prettier && npm run test:eslint",
"test:eslint": "eslint . --ext .js,.cjs,.mjs --ignore-path .gitignore",
"test:prettier": "prettier --check . --ignore-path .gitignore",
"test:storybook": "test-storybook --stories-json --coverage",
"test:storybook:update": "npm run test:storybook -- --updateSnapshot"
},
"files": [
"DefaultValue.css",
"DefaultValue.mjs",
"DocsContainer.mjs",
"PropsTable.css",
"PropsTable.mjs",
"Source.css",
"Source.mjs",
"formatNodeToJsxString.mjs",
"formatValueToString.mjs",
"getValueType.mjs",
"styles.css",
"themes.css",
"webpackFinal.cjs"
],
"exports": {
"./DefaultValue.css": "./DefaultValue.css",
"./DefaultValue.mjs": "./DefaultValue.mjs",
"./DocsContainer.mjs": "./DocsContainer.mjs",
"./PropsTable.css": "./PropsTable.css",
"./PropsTable.mjs": "./PropsTable.mjs",
"./Source.css": "./Source.css",
"./Source.mjs": "./Source.mjs",
"./formatNodeToJsxString.mjs": "./formatNodeToJsxString.mjs",
"./formatValueToString.mjs": "./formatValueToString.mjs",
"./getValueType.mjs": "./getValueType.mjs",
"./package.json": "./package.json",
"./storybook.css": "./storybook.css",
"./styles.css": "./styles.css",
"./themes.css": "./themes.css",
"./webpackFinal.cjs": "./webpackFinal.cjs"
},
"dependencies": {
"@storybook/addon-docs": "^7.3.0",
"@storybook/theming": "^7.1.1",
"babel-plugin-react-docgen": "^4.2.1",
"prettier": "^3.0.2",
"prop-types": "^15.8.1",
"react-element-to-jsx-string": "^15.0.0",
"react-syntax-highlighter": "^15.5.0",
"storybook-dark-mode": "^3.0.1"
},
"devDependencies": {
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@storybook/addon-coverage": "^0.0.9",
"@storybook/addon-interactions": "^7.3.0",
"@storybook/addons": "^7.3.0",
"@storybook/jest": "^0.1.0",
"@storybook/react": "^7.1.1",
"@storybook/react-webpack5": "^7.3.0",
"@storybook/test-runner": "^0.13.0",
"@storybook/testing-library": "^0.2.0",
"autoprefixer": "^10.4.15",
"cssnano": "^6.0.1",
"eslint": "^8.47.0",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"jest-image-snapshot": "^6.2.0",
"lint-staged": "^14.0.0",
"postcss": "^8.4.28",
"postcss-cli": "^10.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.65.1",
"storybook": "^7.3.0"
},
"peerDependencies": {
"react": "^18.0.0",
"storybook": "^7.1.0"
}
}