forked from newsuk/times-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
165 lines (165 loc) · 6.23 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": ">=8.10.0 <10",
"yarn": "1.12.3"
},
"bin": {
"times-components": "times-components"
},
"scripts": {
"native": "node node_modules/react-native/local-cli/cli.js start",
"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",
"visual-snapshot-ios": "./lib/visual_snapshots/run-ios-dextrose.sh",
"visual-snapshot-web": "./lib/visual_snapshots/run-web-dextrose.sh",
"visual-snapshot-android": "./lib/visual_snapshots/run-android-dextrose.sh",
"coverage:publish": "lcov-result-merger './**/lcov.info' | coveralls",
"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",
"fetch-fonts": "node ./lib/fetch-fonts",
"prestorybook": "yarn fetch-fonts && yarn storybook:build-vendor",
"storybook": "start-storybook -p 9001 -c .storybook -s ./dist/public",
"storybook:build-vendor": "webpack --config ./.storybook/vendor.webpack.config.js",
"storybook:build": "yarn storybook:build-vendor && build-storybook -c .storybook -s ./dist/public",
"prestorybook:test-build": "yarn storybook:build-vendor",
"storybook:test-build": "build-storybook -c .storybook -s ./dist/public",
"storybook:publish": "./lib/publish_storybook.sh",
"prestorybook-native": "rnstl && node ./lib/fetch-fonts",
"storybook-native": "storybook -c .storybook.native start -p 7007 --haul ./.storybook.native/webpack.haul.storybook.js --platform all",
"preios": "yarn fetch-fonts",
"ios": "react-native run-ios --no-packager",
"ios:logs" : "yarn ios && react-native log-ios",
"ios:build-lib": "lerna run --scope @times-components/ios-app build:all --stream",
"ios:app": "cd ios-app && yarn start",
"start-emulator": "./lib/start_android_emulator.sh",
"preandroid": "yarn fetch-fonts && yarn start-emulator",
"android": "react-native run-android --no-packager",
"android:logs": "yarn android && react-native log-android",
"android:app": "cd android-app && yarn start",
"android:build-lib": "lerna run --scope @times-components/android-app build:all --stream",
"android:device": "./lib/setup_device_connections.sh && yarn android",
"android:publish-lib": "lerna run --scope @times-components/android-app publish-library --stream",
"prefmt": "prettier --write '**/*.*'",
"fmt": "lerna run fmt",
"cinstall": "./lib/custom_install.sh",
"bundle": "lerna run bundle",
"build:local": "yarn install && yarn bundle && yarn prepublishOnly",
"postinstall": "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",
"clean-snaps": "rm -rf dextrose/snappy/*.png",
"commit": "git-cz",
"prepublishOnly": "lerna run prepublishOnly",
"test:e2e": "yarn bundle && lerna run test:integration --stream",
"test:e2e:debug": "yarn bundle && lerna run test:integration:debug --stream"
},
"jest": {
"preset": "react-native",
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"transformIgnorePatterns": [
"node_modules/(?!react-native|react-navigation|@times-components)",
"packages/?!author-profile"
]
},
"config": {
"react-native-storybook-loader": {
"searchDir": [
"./packages"
],
"pattern": "!(brightcove-video)/*.stories!(.web).js",
"outputFile": "./.storybook.native/story-loader.js"
},
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"workspaces": [
"packages/*",
"android-app",
"ios-app"
],
"repository": {
"type": "git",
"url": "git+https://github.com/newsuk/times-components.git"
},
"keywords": [
"react",
"native",
"web"
],
"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": {
"@storybook/addon-actions": "3.4.10",
"@storybook/addon-info": "3.4.10",
"@storybook/addon-knobs": "3.4.10",
"@storybook/addon-options": "3.4.10",
"@storybook/addons": "3.4.10",
"@storybook/react": "3.4.10",
"@storybook/react-native": "3.4.10",
"@times-components/depend": "*",
"@times-components/fructose": "3.11.4",
"babel-core": "6.26.0",
"babel-loader": "7.1.4",
"babel-preset-react-native": "4.0.0",
"babel-runtime": "6.26.0",
"chromeless": "1.3.0",
"commitizen": "2.9.6",
"coveralls": "2.13.1",
"cz-conventional-changelog": "2.1.0",
"dashify": "0.2.2",
"dextrose": "4.0.7",
"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",
"fs-extra": "7.0.0",
"global": "4.3.2",
"handlebars": "4.0.10",
"haul": "1.0.0-rc.6",
"jest": "23.3.0",
"lcov-result-merger": "1.2.0",
"lerna": "3.2.1",
"mkdirp": "0.5.1",
"node-fetch": "2.2.0",
"prettier": "1.14.3",
"prop-types": "15.6.2",
"react": "16.6.3",
"react-dom": "16.6.3",
"react-native": "0.55.4",
"react-native-storybook-loader": "1.5.1",
"react-native-web": "0.9.0",
"react-native-web-image-loader": "0.0.6",
"rimraf": "2.6.1",
"sort-pkg": "1.1.0",
"subcommander": "1.0.0",
"url": "0.11.0",
"url-polyfill": "1.1.0",
"wd": "1.4.1",
"webpack": "3.12.0"
},
"dependencies": {
"aws-sdk": "2.238.1",
"babel-preset-es2015": "6.24.1",
"expo": "30.0.0",
"react-art": "16.6.3",
"react-native": "0.55.4",
"react-native-showcase-loader": "1.1.0"
}
}