-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.56 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.56 KB
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
{
"name": "storybook-dark-mode",
"version": "5.0.0",
"description": "Toggle between light and dark mode in Storybook",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/ts/index.d.ts",
"files": [
"src",
"dist",
"preset.js"
],
"author": {
"name": "Andrew Lisowski",
"email": "lisowski54@gmail.com"
},
"keywords": [
"storybook-addons",
"appearance"
],
"repository": {
"type": "git",
"url": "https://github.com/hipstersmoothie/storybook-dark-mode"
},
"scripts": {
"clean": "rimraf ./dist",
"buildBabel": "concurrently \"pnpm run buildBabel:cjs\" \"pnpm run buildBabel:esm\"",
"buildBabel:cjs": "babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"",
"buildBabel:esm": "babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"",
"buildTsc": "tsc --declaration --emitDeclarationOnly --outDir ./dist/ts -p tsconfig.build.json",
"prebuild": "pnpm run clean",
"build": "concurrently \"pnpm run buildBabel\" \"pnpm run buildTsc\"",
"build:watch": "concurrently \"pnpm run buildBabel:esm -- --watch\" \"pnpm run buildTsc -- --watch\"",
"lint": "eslint --ext .ts --ext .tsx src/**",
"release": "auto shipit"
},
"dependencies": {
"@storybook/icons": "^2.0.1",
"fast-deep-equal": "^3.1.3",
"memoizerific": "^1.11.3"
},
"peerDependencies": {
"storybook": "^10.0.0"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@storybook/builder-vite": "^10.2.17",
"@storybook/react": "^10.2.17",
"@storybook/react-vite": "^10.2.17",
"@types/node": "^18.11.11",
"@types/react": "^18.0.26",
"@typescript-eslint/eslint-plugin": "5.45.1",
"@typescript-eslint/parser": "5.45.1",
"all-contributors-cli": "^6.24.0",
"auto": "^11.1.1",
"auto-config-hipstersmoothie": "^4.0.0",
"babel-loader": "^8.3.0",
"concurrently": "^7.6.0",
"eslint": "8.29.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-xo": "0.43.1",
"eslint-config-xo-react": "0.27.0",
"eslint-plugin-react": "7.31.11",
"eslint-plugin-react-hooks": "4.6.0",
"prettier": "^2.8.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"storybook": "^10.2.17",
"ts-node": "^10.9.1",
"typescript": "^5.8.2",
"vite": "^5.1.3"
},
"auto": {
"extends": "hipstersmoothie"
},
"prettier": {
"singleQuote": true
},
"license": "MIT"
}