-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
165 lines (165 loc) · 5.62 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "@hackoregon/civic",
"private": true,
"description": "Civic is an open source project of Hack Oregon, built entirely by volunteers committed to neutral, nonpartisan exploration of civic analytics.",
"keywords": [
"boilerplate",
"hackoregon",
"lerna",
"monorepo",
"react",
"react-router",
"redux",
"webpack"
],
"repository": {
"type": "git",
"url": "https://github.com/hackoregon/civic"
},
"license": "MIT",
"author": "Hack Oregon",
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "yarn install --frozen-lockfile && yarn build-packages",
"build": "lerna run build",
"build-packages": "lerna run prepublish",
"build-storybook": "BABEL_ENV=esm STORYBOOK_ENV=new build-storybook",
"build-netlify": "yarn workspace @hackoregon/component-library build && yarn workspace @hackoregon/mock-wrapper build && yarn workspace @hackoregon/2018 build && yarn copy-redirects",
"card": "yarn new-card",
"card:local-data": "yarn new-card:local-data",
"card:minimal": "yarn new-card:minimal",
"changeset": "changeset",
"chromatic": "npx chromatic --project-token vhczrzcafz",
"clean": "lerna clean && rimraf node_modules",
"component": "yarn new-component",
"copy-redirects": "cp packages/2018/_redirects packages/2018/dist",
"deploy-storybook": "NODE_OPTIONS=--max_old_space_size=4096 BABEL_ENV=esm storybook-to-ghpages",
"eslint-check": "eslint --print-config . | eslint-config-prettier-check",
"in": "lerna run --scope",
"lint": "lerna run lint --no-bail",
"lint:fix": "lerna run lint --no-bail -- --fix",
"new-card": "yarn hygen api-story-card with-prompt && yarn",
"new-card:local-data": "yarn hygen local-data-story-card with-prompt && yarn",
"new-card:minimal": "yarn hygen minimal-story-card with-prompt && yarn",
"new-component": "yarn hygen component-generator with-prompt",
"new-package": "yarn hygen package-generator with-prompt && yarn && node scripts/new-package",
"pretty": "prettier --write \"./**/*.{js,jsx,css,md}\"",
"prepublish": "lerna run prepublish",
"publish-canary": "lerna publish --canary --yes --preid ci --npm-tag=ci --no-commit-hooks --no-git-tag-version --no-push --ignore-prepublish -m '(🐦ci-canary): publish %s'",
"publish-major": "lerna publish bump major --yes",
"publish-minor": "lerna publish bump minor --yes",
"publish-patch": "lerna publish bump patch --yes",
"release": "changeset publish",
"start": "node scripts/start",
"storybook": "BABEL_ENV=esm start-storybook -p 6006",
"test": "lerna exec yarn test --no-bail",
"travis": "make travis",
"watch": "lerna run --parallel watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,md,json}": [
"prettier --write",
"git add"
],
"*.{js,jsx}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"dependencies": {
"@changesets/cli": "^2.11.2",
"@emotion/babel-preset-css-prop": "^10.0.27",
"@storybook/addon-essentials": "^6.0.21",
"@storybook/addon-links": "^6.0.21",
"@storybook/core": "^6.0.21",
"@storybook/node-logger": "^6.0.21",
"@storybook/react": "^6.0.21",
"@storybook/source-loader": "^6.0.21",
"raw-loader": "^4.0.1"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@storybook/addon-a11y": "^6.0.21",
"@storybook/storybook-deployer": "^2.3.0",
"autoprefixer": "^9.4.10",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-loader": "^8.1.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-enzyme": "^1.0.0-beta.1",
"chalk": "^1.1.3",
"cheerio": "^0.22.0",
"chromatic": "^5.1.0",
"clean-webpack-plugin": "^2.0.0",
"colors": "^1.1.2",
"coveralls": "^3.0.3",
"css-loader": "^2.1.1",
"enzyme": "^3.9.0",
"eslint": "^5.15.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-emotion": "^10.0.7",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-mdx": "^1.8.2",
"eslint-plugin-prefer-object-spread": "^1.1.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.7.0",
"eslint-watch": "^5.0.1",
"file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.1",
"hygen": "^4.0.7",
"istanbul": "^0.4.4",
"jest": "^24.5.0",
"jsdom": "^14.0.0",
"jsdom-global": "^3.0.2",
"json-loader": "^0.5.4",
"lerna": "^3.13.1",
"lint-staged": "^8.1.4",
"lodash-webpack-plugin": "^0.11.2",
"mocha": "^6.0.2",
"mocha-clean": "^1.0.0",
"mochawesome": "^3.1.1",
"nock": "^10.0.6",
"node-notifier": "^5.0.2",
"npm-run-all": "^4.0.2",
"postcss-loader": "^3.0.0",
"prettier": "1.16.4",
"react-is": "^16.13.1",
"redux-immutable-state-invariant": "^1.2.4",
"redux-mock-store": "^1.2.1",
"regenerator-runtime": "^0.13.1",
"rimraf": "^2.6.2",
"sinon": "^7.2.7",
"sinon-chai": "^3.3.0",
"style-loader": "^0.23.1",
"url-loader": "^1.1.2",
"version-bump-prompt": "^3.1.0",
"watch": "^1.0.2",
"webpack": "^4.29.6",
"webpack-blocks": "^2.0.0-rc",
"webpack-bundle-analyzer": "^3.1.0",
"webpack-dev-middleware": "^3.6.1",
"webpack-dev-server": "^3.2.1",
"webpack-hot-middleware": "^2.24.3",
"webpack-md5-hash": "^0.0.6",
"webpack-node-externals": "^1.5.4"
},
"resolutions": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
}
}