-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
122 lines (122 loc) · 3.13 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
{
"name": "storybook-addon-swc",
"version": "1.2.0",
"description": "Storybook add-on to enable SWC builds.",
"packageManager": "yarn@3.5.0",
"main": "dist/storybook-addon-swc.cjs.js",
"module": "dist/storybook-addon-swc.esm.js",
"types": "dist/storybook-addon-swc.cjs.d.ts",
"files": [
"src",
"dist",
"LICENSE",
"README.md"
],
"keywords": [
"storybook-addons",
"code",
"javascript",
"typescript",
"storybook",
"addon",
"swc",
"build",
"react",
"nextjs",
"next"
],
"homepage": "https://github.com/Karibash/storybook-addon-swc",
"bugs": {
"url": "https://github.com/Karibash/storybook-addon-swc/issues"
},
"storybook": {
"displayName": "SWC",
"unsupportedFrameworks": [
"angular",
"vue"
],
"supportedFrameworks": [
"react"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/Karibash/storybook-addon-swc.git"
},
"license": "MIT",
"author": "Karibash",
"scripts": {
"prepare": "simple-git-hooks",
"build:watch": "preconstruct watch",
"build": "preconstruct build",
"lint": "eslint . --fix",
"lint:check": "eslint .",
"test": "jest",
"test:watch": "jest --watch",
"test:dist": "yarn build && jest -c jest.dist.js --no-cache --ci --runInBand",
"test:coverage": "jest --coverage --no-cache --ci --runInBand",
"changeset": "changeset",
"version-apply": "changeset version",
"release": "yarn build && changeset publish"
},
"simple-git-hooks": {
"pre-commit": "yarn lint-staged",
"post-commit": "git update-index --again"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint . --fix",
"git add"
]
},
"dependencies": {
"@babel/runtime": "^7.17.2",
"deepmerge": "^4.2.2",
"swc-loader": "^0.1.15"
},
"peerDependencies": {
"@swc/core": "^1.2.152",
"terser-webpack-plugin": "^4.0.0 || ^5.0.0",
"webpack": "^4.0.0 || ^5.0.0"
},
"peerDependenciesMeta": {
"@swc/core": {
"optional": false
},
"terser-webpack-plugin": {
"optional": true
},
"webpack": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@changesets/changelog-github": "^0.4.3",
"@changesets/cli": "^2.21.0",
"@preconstruct/cli": "^2.1.5",
"@storybook/core-common": "^6.4.19",
"@swc/core": "^1.2.152",
"@swc/jest": "^0.2.17",
"@types/jest": "^27.4.0",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"eslint": "^8.9.0",
"eslint-config-standard": "^16.0.3",
"eslint-config-standard-with-typescript": "^21.0.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"jest": "^27.5.1",
"jest-watch-typeahead": "^1.0.0",
"lint-staged": "^12.3.4",
"simple-git-hooks": "^2.7.0",
"terser-webpack-plugin": "^5.3.1",
"typescript": "^4.6.2",
"webpack": "^5.70.0"
}
}