-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
127 lines (127 loc) · 3.83 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
123
124
125
126
127
{
"name": "react-component-library-lerna",
"version": "0.0.1",
"description": "Example setup of a react-component library managed with lerna",
"author": "Stefan Natter",
"license": "Apache-2.0",
"private": true,
"engines": {
"node": "^10.14",
"npm": "^6.4",
"yarn": "^1.9"
},
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run build --stream --parallel",
"build-storybook": "build-storybook -c .storybook -o dist/storybook",
"commander": "node ./scripts/commander",
"clean": "lerna clean",
"clean-dist": "lerna run prebuild --stream --parallel",
"lint": "yarn lint-css && yarn lint-js && yarn lint-md",
"lint-css": "stylelint 'packages/**/*.js'",
"lint-js": "eslint ./packages",
"lint-md": "remark .",
"lint-lerna": "lerna run lint --stream --parallel",
"postinstall": "yarn bootstrap",
"posttest": "yarn clean-dist",
"prepublishOnly": "yarn clean && yarn && yarn build",
"pretest": "yarn build",
"publish": "lerna publish",
"setup": "yarn && yarn clean && yarn bootstrap",
"start": "yarn clean-dist && start-storybook -p 9001 -c .storybook --ci",
"test": "jest --detectOpenHandles"
},
"publishConfig": {
"access": "public",
"registry": "http://localhost:4873/"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"yarn lint",
"git update-index --again",
"yarn test --findRelatedTests"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/natterstefan/react-component-library-lerna.git"
},
"workspaces": {
"packages": ["packages/*"]
},
"keywords": [
"lerna",
"monorepo",
"component-library",
"storybook",
"styled-components"
],
"bugs": {
"url": "https://github.com/natterstefan/react-component-library-lerna/issues"
},
"homepage": "https://github.com/natterstefan/react-component-library-lerna#readme",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@storybook/addon-actions": "^5.0.1",
"@storybook/addon-console": "^1.1.0",
"@storybook/addon-knobs": "^5.0.1",
"@storybook/addon-storysource": "^5.0.1",
"@storybook/addon-viewport": "^5.0.1",
"@storybook/react": "^5.0.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.3.1",
"babel-loader": "^8.0.5",
"babel-plugin-styled-components": "^1.10.0",
"chalk": "^2.4.2",
"commander": "^2.19.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.10.0",
"enzyme-to-json": "^3.3.5",
"eslint": "^5.15.1",
"eslint-config-ns": "^0.3.0",
"eslint-import-resolver-lerna": "^1.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.3.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"inquirer": "^6.2.2",
"jest": "^24.3.1",
"jest-environment-jsdom": "^24.3.1",
"jest-environment-jsdom-global": "^1.1.1",
"jest-styled-components": "^6.3.1",
"lerna": "^3.13.1",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"react-scripts": "^2.1.8",
"remark-cli": "^6.0.1",
"remark-lint": "^6.0.4",
"remark-preset-lint-recommended": "^3.0.2",
"rimraf": "^2.6.3",
"shelljs": "^0.8.3",
"storybook-addon-jsx": "^6.0.0",
"storybook-readme": "^4.0.5",
"stylelint": "^9.10.1",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.5.2",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3"
},
"dependencies": {
"react": "^16.8.4",
"react-dom": "^16.8.4",
"styled-components": "4.1.3"
}
}