-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
110 lines (110 loc) · 3.2 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
{
"name": "@nice-boys/components",
"version": "0.2.0",
"description": "Nice Boys component library",
"source": "src/index.ts",
"main": "dist/nice-boys-components.js",
"umd:main": "dist/nice-boys-components.umd.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/nice-boys/components",
"author": "Max Stoiber",
"license": "MIT",
"private": false,
"scripts": {
"dev": "start-storybook -p 6006",
"build:watch": "microbundle watch --jsx React.createElement",
"build": "microbundle --jsx React.createElement",
"lint": "eslint src --ext .js,.ts,.tsx",
"test": "yarn run lint",
"now-build": "build-storybook -c .storybook -o .storybook-dist",
"prepublishOnly": "yarn run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint",
"react-app"
],
"plugins": [
"react-hooks"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-var-requires": 0,
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{css,json,md,mdx}": [
"prettier --write",
"git add"
]
},
"peerDependencies": {
"react": ">= 15.0.0",
"styled-components": ">= 4.0.0"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@storybook/addon-actions": "5.0.11",
"@storybook/addon-console": "^1.1.0",
"@storybook/addon-info": "5.0.11",
"@storybook/addon-links": "5.0.11",
"@storybook/addon-storysource": "5.0.11",
"@storybook/addon-viewport": "5.0.11",
"@storybook/addons": "5.0.11",
"@storybook/react": "5.0.11",
"@types/react": "^16.8.19",
"@types/rebass": "^3.0.4",
"@types/storybook__react": "^4.0.1",
"@types/styled-components": "^4.4.0",
"@types/styled-system": "^4.2.1",
"@typescript-eslint/eslint-plugin": "^1.6.0",
"@typescript-eslint/parser": "^1.6.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.6",
"eslint": "^5.16.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-react-app": "^3.0.8",
"eslint-loader": "3.0.2",
"eslint-plugin-flowtype": "2.50.1",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.16.0",
"eslint-plugin-react-hooks": "^1.6.0",
"husky": "^3.1.0",
"lint-staged": "^9.4.3",
"microbundle": "^0.11.0",
"prettier": "^1.17.1",
"react": "^16.8.6",
"react-docgen-typescript-loader": "^3.1.0",
"react-storybook-addon-props-combinations": "^1.1.0",
"styled-components": "^4.2.0"
},
"dependencies": {
"@tippy.js/react": "^2.2.0",
"react-feather": "^2.0.3",
"rebass": "^3.x.x",
"styled-normalize": "^8.x.x",
"styled-system": "^4.x.x"
}
}