forked from storybookjs/addon-postcss
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
79 lines (79 loc) · 2.19 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
{
"name": "@storybook/addon-postcss",
"version": "2.0.0",
"description": "Storybook addon used to run the PostCSS preprocessor against your stories.",
"license": "MIT",
"bugs": {
"url": "https://github.com/storybookjs/addon-postcss/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/storybookjs/addon-postcss.git"
},
"engines": {
"node": ">=10",
"yarn": "^1.17.0"
},
"main": "dist/index.js",
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "rm -rf dist & tsc",
"lint": "yarn lint-code && yarn lint-style -c",
"lint-code": "eslint '{example,src}/**/*.{js,ts,tsx}'",
"lint-style": "yarn prettier '{example,src}/**/*.{js,ts,tsx,css,html,json,md,mdx,scss,yml}'",
"test": "jest --passWithNoTests",
"prepublishOnly": "yarn build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{css,html,json,md,mdx,scss,yml}": [
"prettier --write"
]
},
"dependencies": {
"@storybook/node-logger": "^6.1.14",
"css-loader": "^3.6.0",
"postcss": "^7.0.35",
"postcss-loader": "^4.2.0",
"style-loader": "^1.3.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@types/webpack": "^4.41.26",
"@types/webpack-env": "^1.16.0",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"babel-eslint": "10.1.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-require-context-hook": "^1.0.0",
"eslint": "^7.18.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^7.2.0",
"eslint-import-resolver-ts": "^0.4.2",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.2.3",
"jest": "^26.6.3",
"lint-staged": "^10.0.8",
"prettier": "^2.0.5",
"typescript": "^4.1.3",
"webpack": "^4"
}
}