This repository has been archived by the owner on Aug 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
159 lines (159 loc) · 5.6 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
{
"name": "@bbc/psammead",
"version": "1.0.0",
"description": "Core Components Library Developed & Maintained By The Articles and Reach & Languages Team",
"main": "index.js",
"private": true,
"resolutions": {
"axios": "0.25.0",
"browserslist": "4.16.5",
"node-notifier": "10.0.0",
"lodash": "4.17.21",
"moment": "2.24.0",
"trim": "1.0.1",
"ejs": "3.1.6",
"glob-parent": "6.0.1",
"semver-regex": "4.0.0",
"postcss": "8.4.5",
"autoprefixer": "10.2.6",
"prismjs": "1.27.0",
"tar": "6.1.11",
"http-signature": "1.3.6",
"node-fetch": "2.6.7",
"ansi-regex": "5.0.1",
"immer": "9.0.12",
"nth-check": "2.0.1",
"tmpl": "1.0.5",
"ansi-html": "https://registry.yarnpkg.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz",
"follow-redirects": "1.14.9"
},
"workspaces": [
"packages/*/*"
],
"scripts": {
"build": "yarn build:cjs && yarn build:esm",
"build:cjs": "yarn workspaces foreach --no-private exec babel src -d dist --ignore '**/*.test.js,**/*.test.jsx,**/*.stories.js,**/*.stories.jsx' --root-mode upward",
"build:esm": "BABEL_TYPE=esm yarn workspaces foreach --no-private exec babel src -d esm --ignore '**/*.test.js,**/*.test.jsx,**/*.stories.js,**/*.stories.jsx' --root-mode upward",
"build:storybook": "build-storybook -o storybook_dist -s .storybook/static",
"changelogs:update": "node scripts/bumpChangelogs/cli",
"changeScanner": "node scripts/changeScanner",
"deploy-storybook": "gh-pages -d storybook_dist",
"postshrinkwrap": "if test -z $CI; then \n ./scripts/forcePackageLockHttps.sh \n fi",
"packages:check": "manypkg check",
"packages:fix": "manypkg fix",
"packages:version": "node scripts/bumpPackages/cli",
"preinstall": "node scripts/check-package-manager.js && sh scripts/enforceVersions.sh",
"postinstall": "yarn packages:check && yarn build",
"publish": "node scripts/publish",
"storybook": "NODE_ENV=development start-storybook -p 8180 -s .storybook/static -c .storybook",
"test": "yarn test:lint && yarn test:unit",
"test:ci": "yarn test:lint && yarn test:unit:ci",
"test:lint": "eslint --ext .js,jsx,json ./packages ./scripts && stylelint 'packages/**/*.js' 'packages/**/*.jsx' 'scripts/**/*.js'",
"test:unit": "yarn build && jest --verbose --coverage",
"test:unit:ci": "jest --verbose --coverage",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bbc/psammead.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/bbc/psammead/issues"
},
"homepage": "https://github.com/bbc/psammead#readme",
"dependencies": {
"@babel/cli": "7.14.5",
"@babel/core": "7.14.6",
"@babel/plugin-proposal-export-default-from": "7.14.5",
"@babel/plugin-transform-modules-commonjs": "7.14.5",
"@babel/plugin-transform-runtime": "7.14.5",
"@babel/preset-env": "7.14.5",
"@babel/preset-react": "7.14.5",
"@emotion/babel-plugin": "^11.1.2",
"@emotion/jest": "^11.1.0",
"@emotion/react": "^11.4.0",
"@emotion/styled": "^11.3.0",
"@loadable/babel-plugin": "^5.13.0",
"@loadable/component": "^5.13.1",
"@manypkg/cli": "^0.18.0",
"@storybook/addon-a11y": "6.3.6",
"@storybook/addon-actions": "6.3.6",
"@storybook/addon-docs": "6.3.6",
"@storybook/addon-knobs": "^6.2.9",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addon-viewport": "6.3.6",
"@storybook/react": "6.3.6",
"@storybook/theming": "6.3.6",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "7.0.2",
"@testing-library/user-event": "^13.1.9",
"autoprefixer": "^10.2.6",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-loader": "8.2.2",
"babel-plugin-dynamic-import-node": "^2.3.3",
"browserslist": "^4.16.5",
"chalk": "^4.1.0",
"chromatic": "6.0.4",
"enquirer": "^2.3.6",
"eslint": "^7.10.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-es5": "^1.5.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.22.0",
"gh-pages": "^3.1.0",
"github-api": "^3.3.0",
"glob-loader": "^0.3.0",
"husky": "7.0.2",
"jest": "^26.5.0",
"json5": "^2.1.3",
"lint-staged": "12.0.3",
"postcss": "^8.3.5",
"prettier": "2.2.1",
"prop-types": "^15.7.2",
"ramda": "^0.28.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-test-renderer": ">=16.9.0",
"request": "^2.88.2",
"semver": "^7.3.2",
"shelljs": "^0.8.5",
"strip-ansi": "^6.0.0",
"stylelint": "^13.7.2",
"stylelint-config-recommended": "5.0.0",
"yargs-parser": "21.0.0"
},
"config": {
"babel_ignore": "'**/*.test.js,**/*.test.jsx,**/*.stories.js,**/*.stories.jsx'"
},
"spec": {
"prune": false,
"requires": [
"nodejs",
"cfn-signal",
"cloud-httpd24-ssl-services-devs-staff"
],
"environment": {
"NODE_ENV": "production",
"BABEL_CACHE_PATH": "/tmp/.babel.json"
},
"post": [
"mkdir -p /etc/bake-scripts/PSAMMEAD-COMPONENT-LIBRARY",
"cp -af /usr/lib/PSAMMEAD-COMPONENT-LIBRARY/bake-scripts/. /etc/bake-scripts/PSAMMEAD-COMPONENT-LIBRARY",
"chmod +x /etc/bake-scripts/PSAMMEAD-COMPONENT-LIBRARY/*"
]
},
"lint-staged": {
"*.{js,jsx,json}": "eslint",
"packages /**/*.{js,jsx}": "stylelint",
"scripts /**/*.{js,jsx}": "stylelint"
}
}