forked from govuk-react/govuk-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 4.71 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
{
"name": "@govuk-react/monorepo",
"scripts": {
"start": "cd packages/storybook && npm start",
"bootstrap": "lerna bootstrap",
"docs": "doc-component './components/**/lib/index.js' './API.md'",
"docs:components": "lerna run docs --parallel",
"eslint": "eslint \"./{components,packages}/*/src/**/*.js\"",
"eslint:fix": "eslint --fix \"./{components,packages}/*/src/**/*.js\"",
"build": "lerna run build --parallel",
"build:sync": "lerna run build",
"build:lib": "lerna run build:lib --parallel",
"build:es": "lerna run build:es --parallel",
"build:dist": "yarn build:es && rimraf dist && webpack -p packages/govuk-react/es/index.js --devtool source-map --output-filename index.js",
"pack": "lerna exec --parallel -- npm pack",
"watch": "yarn watch:lib",
"watch:es": "cross-env BABEL_ENV=es lerna exec --ignore @govuk-react/images --parallel -- babel src -d es -w --source-maps",
"watch:lib": "lerna exec --ignore @govuk-react/images --parallel -- babel src -d lib -w --source-maps",
"clean": "rimraf lib && rimraf es",
"flow": "flow",
"bundlesize": "bundlesize",
"test": "cross-env CI=true yarn test:unit && yarn eslint && yarn flow",
"test:unit": "jest",
"test:debug": "node --inspect-brk ./node_modules/.bin/jest --runInBand",
"test:snapshot": "yarn test:unit -- -u",
"create-component": "node ./scripts/createComponent.js",
"chromatic-test": "cd packages/storybook && yarn chromatic-test"
},
"description": "A port of the govuk-frontend components for React using styled-components.",
"main": "lib/index.js",
"module": "es/index.js",
"dependencies": {
"govuk-colours": "^1.0.3",
"react-markdown": "^4.0.6"
},
"peerDependencies": {
"react": ">=16.2.0"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.4.0",
"@babel/node": "7.2.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/plugin-transform-runtime": "7.4.0",
"@babel/preset-env": "7.4.1",
"@babel/preset-flow": "7.0.0",
"@babel/preset-react": "7.0.0",
"@govuk-react/icon-crown": "0.0.5",
"@storybook/addon-actions": "^5.0.3",
"@storybook/addon-knobs": "^5.0.3",
"@storybook/addon-links": "^5.0.11",
"@storybook/addon-options": "^5.0.11",
"@storybook/addons": "^5.0.3",
"@storybook/react": "^5.0.3",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-plugin-add-module-exports": "^1.0.0",
"babel-plugin-styled-components": "^1.10.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.20",
"bundlesize": "^0.17.0",
"can-npm-publish": "1.3.1",
"chalk": "^2.3.1",
"codacy-coverage": "^3.0.0",
"cross-env": "^5.1.3",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.15.3",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-config-react-app": "^3.0.8",
"eslint-config-sonar": "0.0.7",
"eslint-plugin-flowtype": "^3.4.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.5.1",
"final-form": "^4.12.0",
"flow-bin": "^0.96.0",
"hex-rgb": "^4.1.0",
"jest": "^24.4.0",
"jest-styled-components": "^6.3.1",
"lerna": "~3.13.1",
"mkdirp-promise": "^5.0.1",
"multi-input-input": "0.0.3",
"normalize.css": "^8.0.1",
"prettier": "^1.16.4",
"prop-types": "^15.6.0",
"react": "^16.8.4",
"react-docgen": "^4.1.0",
"react-dom": "^16.8.4",
"react-final-form": "^4.1.0",
"react-markdown": "^4.0.6",
"react-router-dom": "^5.0.0",
"react-test-renderer": "^16.2.0",
"react-testing-library": "^6.0.0",
"rimraf": "^2.6.2",
"sinon": "^7.3.0",
"storybook-chromatic": "^1.3.3",
"storybook-readme": "^5.0.1",
"styled-components": "^4.1.3",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/govuk-react/govuk-react.git"
},
"author": "Alasdair McLeay",
"license": "MIT",
"bugs": {
"url": "https://github.com/govuk-react/govuk-react/issues"
},
"homepage": "https://github.com/govuk-react/govuk-react#readme",
"bundlesize": [
{
"path": "./dist/index.js",
"maxSize": "120 kB"
}
],
"workspaces": [
"components/*",
"packages/*"
],
"private": true
}