-
Notifications
You must be signed in to change notification settings - Fork 42
/
package.json
165 lines (165 loc) · 6.26 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": "times-components",
"private": true,
"version": "0.0.1",
"description": "A collection of presentational components for The Times and Sunday Times",
"main": "index.js",
"engines": {
"node": ">=18.19.1",
"yarn": ">=1.16.0"
},
"bin": {
"times-components": "times-components"
},
"scripts": {
"coverage:publish": "lcov-result-merger './**/lcov.info' | coveralls -verbose",
"prelint": "eslint . && prettier --list-different '**/*.js' && yarn deps:lint",
"lint": "lerna run lint --since -- -- --ci",
"deps:lint": "lerna run cli -- -- --hint --bail -s majorityProgressive",
"deps:fix": "lerna run cli -- -- --fix -s majorityProgressive",
"deps:list": "lerna run cli -- -- --list -s majorityProgressive",
"copy-fonts": "node ./lib/copy-fonts",
"prestorybook": "yarn storybook:build-vendor",
"storybook": "start-storybook -p 9001 -c .storybook",
"storybook:build-vendor": "webpack --config ./.storybook/vendor.webpack.config.js",
"storybook:build": "yarn storybook:build-vendor && build-storybook -c .storybook",
"prestorybook:test-build": "yarn storybook:build-vendor",
"storybook:test-build": "build-storybook -c .storybook",
"storybook:publish": "./lib/publish_storybook.sh",
"prefmt": "prettier --write '**/*.{js,json}'",
"fmt": "lerna run fmt",
"npm:publish": "bash ./lib/publish.sh",
"npm:publish-canary": "bash ./lib/publish_canary.sh",
"cinstall": "bash ./lib/custom_install.sh",
"clean": "watchman watch-del-all && rm -rf $TMPDIR/metro-* && rm -rf $TMPDIR/haste-* && yarn cache clean && jest --clearCache",
"bundle": "lerna run bundle",
"build:local": "yarn install && yarn bundle && yarn prepublishOnly",
"postinstall": "yarn run copy-fonts && lerna run postinstall && lerna run transpile",
"packages:publish": "lerna publish --conventional-commits --yes --concurrency=1 --exact",
"packages:publish-dry-run": "yarn packages:publish --no-git-tag-version --no-push",
"commit": "git-cz",
"prepublishOnly": "lerna run prepublishOnly",
"test": "yarn storybook:test-build && jest ./lib --ci --bail --coverage",
"test:all": "yarn test && lerna run test --since --stream && lerna run test:all --since --stream",
"test:web": "lerna run test:web --stream",
"test:web:updatesnapshot": "lerna run test:web:updatesnapshot --stream",
"test:unit": "lerna run test:unit --stream",
"test:unit:updatesnapshot": "lerna run test:unit:updatesnapshot --stream",
"test:e2e": "yarn bundle && lerna run test:integration --stream",
"test:e2e:ci": "yarn bundle && lerna run test:integration:ci --stream",
"test:e2e:debug": "yarn bundle && lerna run test:integration:debug --stream",
"lerna:publish:verdaccio": "yarn lerna publish --conventional-commits --concurrency=1 --registry=\"http://localhost:4873\" --no-verify-access --no-git-tag-version --no-verify-registry --yes ",
"verdaccio:start": "yarn verdaccio -c ./.verdaccio-config.yaml",
"verdaccio:start:detached": "yarn pm2 start \"yarn verdaccio:start\"",
"watch": "lerna run watch --stream --no-sort --concurrency 100",
"stop:testserver": "kill $(lsof -t -i:3000)"
},
"jest": {
"coveragePathIgnorePatterns": [
"lib/cli/edition-checker/src/main.js"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"transformIgnorePatterns": [
"node_modules/?!@times-components",
"packages/?!author-profile"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"workspaces": [
"packages/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/newsuk/times-components.git"
},
"keywords": [
"react"
],
"author": "News UK & Ireland Ltd",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/newsuk/times-components/issues"
},
"homepage": "https://github.com/newsuk/times-components#readme",
"devDependencies": {
"@babel/cli": "7.4.4",
"@babel/core": "7.4.4",
"@babel/plugin-transform-modules-commonjs": "7.14.0",
"@babel/plugin-transform-runtime": "7.4.4",
"@babel/preset-env": "7.4.4",
"@babel/preset-react": "7.9.1",
"@babel/preset-typescript": "7.9.0",
"@storybook/addon-a11y": "6.5.16",
"@storybook/addon-actions": "6.5.16",
"@storybook/addon-controls": "6.5.16",
"@storybook/addon-docs": "6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-knobs": "6.4.0",
"@storybook/addon-options": "5.3.21",
"@storybook/addon-viewport": "6.5.16",
"@storybook/addons": "6.5.16",
"@storybook/react": "6.5.16",
"@storybook/theming": "6.5.16",
"@times-components/depend": "*",
"babel-eslint": "10.0.2",
"babel-jest": "24.8.0",
"babel-loader": "8.0.5",
"babel-plugin-polyfill-corejs2": "0.3.3",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"commitizen": "2.9.6",
"coveralls": "2.13.1",
"cypress-circleci-reporter": "0.2.0",
"cz-conventional-changelog": "2.1.0",
"dashify": "0.2.2",
"es6-promise-pool": "^2.5.0",
"eslint": "5.9.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "3.3.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.11.1",
"eslint-plugin-react-hooks": "2.0.1",
"fs-extra": "7.0.0",
"global": "4.3.2",
"handlebars": "4.7.7",
"jest": "24.8.0",
"lcov-result-merger": "1.2.0",
"lerna": "3.2.1",
"mkdirp": "0.5.1",
"mockdate": "3.0.5",
"node-fetch": "2.6.7",
"opentype.js": "1.1.0",
"prettier": "1.14.3",
"prop-types": "15.7.2",
"react": "16.9.0",
"react-dom": "16.9.0",
"react-scripts": "3.0.1",
"rimraf": "2.6.1",
"sort-pkg": "1.1.0",
"storybook-addon-paddings": "4.3.0",
"stylelint-config-recommended": "2.1.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.3.2",
"subcommander": "1.0.0",
"url": "0.11.0",
"url-polyfill": "1.1.0",
"watch": "1.0.2",
"webpack": "4.30.0",
"webpack-cli": "3.3.1"
},
"dependencies": {
"@babel/runtime-corejs2": "7.4.4",
"chalk": "4.1.2",
"get-yarn-workspaces": "1.0.2",
"opentype.js": "1.1.0",
"pm2": "5.3.0",
"verdaccio": "5.26.2",
"winston": "3.10.0"
}
}