forked from dicarlo2/neotracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
213 lines (213 loc) · 8.99 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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
{
"name": "neotracker",
"version": "0.0.0",
"description": "NEO Tracker",
"repository": "https://github.com/neotracker/neotracker",
"bugs": "https://github.com/neotracker/neotracker/issues",
"license": "MIT",
"private": true,
"workspaces": ["packages/*"],
"engines": {
"node": ">=10.16.0"
},
"browserslist": ["> 0.1%", "not ie <= 10"],
"devDependencies": {
"@babel/core": "7.6.4",
"@babel/plugin-proposal-async-generator-functions": "7.2.0",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-proposal-optional-catch-binding": "7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-flow-strip-types": "^7.2.3",
"@babel/preset-env": "7.6.3",
"@babel/preset-react": "7.6.3",
"@cypress/webpack-preprocessor": "4.1.0",
"@neo-one/cli": "^2.6.0",
"@size-limit/preset-app": "^3.0.0",
"@size-limit/webpack": "^3.0.0",
"@types/app-root-dir": "0.1.0",
"@types/assets-webpack-plugin": "3.9.0",
"@types/babel__code-frame": "7.0.1",
"@types/backo2": "1.0.1",
"@types/bluebird": "3.5.28",
"@types/bs58": "4.0.0",
"@types/chokidar": "2.1.3",
"@types/consul": "0.23.34",
"@types/core-js": "2.5.2",
"@types/enzyme": "3.10.3",
"@types/escodegen": "0.0.6",
"@types/extract-text-webpack-plugin": "3.0.4",
"@types/faker": "4.1.7",
"@types/fancy-log": "1.3.1",
"@types/file-saver": "2.0.1",
"@types/fs-extra": "8.0.1",
"@types/glob": "7.1.1",
"@types/graphql": "14.5.0",
"@types/ip": "1.1.0",
"@types/jest": "24.0.21",
"@types/js-priority-queue": "0.0.5",
"@types/js-yaml": "3.12.1",
"@types/jsonwebtoken": "8.3.5",
"@types/koa": "2.0.51",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-compose": "^3.2.4",
"@types/koa-compress": "2.0.9",
"@types/koa-convert": "^1.2.2",
"@types/koa-cors": "^0.0.0",
"@types/koa-helmet": "3.1.2",
"@types/koa-mount": "4.0.0",
"@types/koa-router": "^7.0.42",
"@types/lodash": "4.14.144",
"@types/lru-cache": "5.1.0",
"@types/node": "12.12.3",
"@types/node-cron": "2.0.2",
"@types/nunjucks": "3.1.2",
"@types/pg": "^7.11.2",
"@types/prettier": "1.18.3",
"@types/react-dom": "16.9.3",
"@types/react-helmet": "5.0.13",
"@types/react-loadable": "5.5.2",
"@types/react-redux": "7.1.5",
"@types/react-router": "5.1.2",
"@types/react-router-config": "5.0.1",
"@types/react-router-dom": "5.1.1",
"@types/recompose": "0.30.7",
"@types/request": "2.48.3",
"@types/seamless-immutable": "7.1.11",
"@types/serialize-javascript": "1.5.0",
"@types/styled-components": "^4.1.20",
"@types/tar": "4.0.3",
"@types/through": "0.0.29",
"@types/tmp": "0.1.0",
"@types/toobusy-js": "0.5.2",
"@types/ua-parser-js": "0.7.33",
"@types/uuid": "3.4.6",
"@types/webpack": "4.39.7",
"@types/webpack-bundle-analyzer": "2.13.3",
"@types/webpack-node-externals": "1.6.3",
"@types/ws": "6.0.3",
"@types/yargs": "13.0.3",
"apollo": "2.21.0",
"app-root-dir": "1.0.2",
"awesome-typescript-loader": "5.2.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.0.3",
"babel-jest": "24.9.0",
"babel-plugin-jest-hoist": "24.9.0",
"babel-plugin-relay": "^1.7.0",
"cross-env": "6.0.3",
"cross-fetch": "^3.0.0",
"cypress": "3.5.0",
"enzyme-adapter-react-16": "1.15.1",
"enzyme-to-json": "3.4.3",
"eslint": "6.6.0",
"eslint-config-airbnb": "18.0.1",
"eslint-config-prettier": "6.5.0",
"eslint-plugin-eslint-comments": "3.1.2",
"eslint-plugin-flowtype": "4.3.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.16.0",
"execa": "3.2.0",
"flow-bin": "0.110.1",
"fs-extra": "8.1.0",
"graphql": "14.5.8",
"husky": "3.0.9",
"jest": "24.9.0",
"jest-junit": "9.0.0",
"lerna": "3.18.3",
"lint-staged": "9.4.2",
"lodash": "^4.17.11",
"mocha": "5.2.0",
"mocha-junit-reporter": "1.23.3",
"mocha-multi-reporters": "1.1.7",
"prettier": "1.18.2",
"react-docgen-typescript-loader": "3.3.0",
"regenerator-runtime": "0.13.3",
"rxjs": "6.5.3",
"rxjs-tslint-rules": "4.25.0",
"size-limit": "2.1.6",
"stylelint": "11.1.1",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-standard": "19.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.8.0",
"ts-graphql-plugin": "1.3.0",
"ts-jest": "24.1.0",
"ts-node": "8.4.1",
"tslint": "5.20.0",
"tslint-clean-code": "0.2.10",
"tslint-config-prettier": "1.18.0",
"tslint-consistent-codestyle": "1.16.0",
"tslint-immutable": "6.0.1",
"tslint-microsoft-contrib": "6.2.0",
"tslint-react": "4.1.0",
"tslint-sonarts": "1.9.0",
"typescript": "3.8.3",
"typescript-styled-plugin": "0.15.0"
},
"resolutions": {
"bn.js": "^4.11.8"
},
"lint-staged": {
"packages/*/src/**/*.{ts,tsx}": ["yarn run prettier --write", "git add", "yarn run test:unit --findRelatedTests --ci", "yarn run test:browser --findRelatedTests --ci", "yarn run lint:ts"],
"packages/*/src/**/*.js": ["yarn run prettier --write", "git add", "yarn run lint:js"]
},
"scripts": {
"lint:css": "stylelint './packages/*/src/**/*.tsx'",
"lint:ts": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" tslint --project . --format codeFrame",
"lint:js:all": "yarn run lint:js \"packages/*/src/**/*.js\"",
"lint:js": "eslint",
"lint": "yarn run lint:ts && yarn run lint:js:all && yarn run lint:css",
"nit:ts": "prettier --list-different \"packages/*/src/**/*.ts\"",
"nit:js": "prettier --list-different \"packages/*/src/**/*.js\"",
"nit": "yarn run nit:ts && yarn run nit:js",
"prettier": "prettier --config .prettierrc",
"prettier:ts": "yarn run prettier --write \"packages/*/src/**/*.ts\"",
"prettier:js": "yarn run prettier --write \"packages/*/src/**/*.js\"",
"prettier:all": "yarn run prettier:ts && yarn run prettier:js",
"jest": "jest --passWithNoTests",
"jest:ci": "yarn run jest --ci -w 2",
"test:unit": "yarn run jest --config jest/unit.js",
"test:unit-ci": "yarn run jest:ci --config jest/unit-ci.js",
"test:browser": "yarn run jest --config jest/browser.js",
"test:browser-ci": "yarn run jest:ci --config jest/browser-ci.js",
"test:e2e": "yarn run jest --config jest/e2e.js",
"test:e2e-ci": "yarn run jest:ci --config jest/e2e-ci.js",
"test:cypress": "yarn run ts-node ./packages/neotracker-server-test/src/cypress/run.ts",
"test:cypress-ci": "yarn run test:cypress --ci",
"test:ecosystem-links": "cross-env TS_NODE_COMPILER_OPTIONS='{\"allowJs\": true}' yarn run ts-node ./scripts/checkEcosystemLinks.ts",
"tsc": "tsc",
"flow": "flow",
"ts-node": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192 --no-warnings\" TS_NODE_PROJECT=tsconfig/tsconfig.es2018.cjs.json node -r ts-node/register/transpile-only",
"lint-staged": "lint-staged",
"develop": "yarn run ts-node ./packages/neotracker-build/src/develop.ts",
"generate-gql-types": "apollo codegen:generate __generated__ --addTypename --schema=./packages/neotracker-server-graphql/src/__generated__/schema.graphql.json --target=typescript --queries='./packages/*/src/**/*.{ts,tsx}'",
"watch-gql-types": "yarn run ts-node ./packages/neotracker-build/src/entry/watchGraphQLTypes.ts",
"analyze": "yarn run ts-node ./packages/neotracker-build/src/entry/analyze.ts",
"build-core": "yarn run ts-node ./packages/neotracker-build/src/entry/build.ts",
"size": "size-limit",
"component-explorer": "yarn run ts-node ./packages/neotracker-component-explorer/src/node/entry/cli.ts",
"check-dependencies": "yarn run ts-node ./scripts/checkDependencies.ts",
"get-credentials": "yarn run ts-node ./scripts/runGetCredentials.ts",
"create-clients-secret": "yarn run ts-node ./scripts/createClientsSecret.ts",
"test:e2e:internal": "yarn run jest --config jest/e2e-internal.js",
"test:e2e-ci:internal": "yarn run jest:ci --config jest/e2e-internal-ci.js",
"test:cypress-ci:internal": "yarn run test:cypress:internal --ci",
"test:e2e-internal": "yarn run jest --config jest/e2e-internal-only.js",
"test:e2e-internal-ci": "yarn run jest:ci --config jest/e2e-internal-only-ci.js",
"staging:consul": "consul agent -dev -advertise 127.0.0.1",
"install-composer": "cd hack && sh ./install-composer.sh && cd ..",
"install-hack": "cd hack && hhvm composer.phar install && cd ..",
"shipit-ci": "yarn install-composer && yarn install-hack && hhvm ./hack/ship.php"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && echo \"Executing tsc...\" && yarn run tsc",
"post-checkout": "cross-env-shell \"yarn run ts-node ./scripts/hooks/post-checkout.ts $HUSKY_GIT_PARAMS\"",
"post-merge": "yarn run ts-node ./scripts/hooks/post-merge.ts",
"post-rewrite": "yarn run ts-node ./scripts/hooks/post-rewrite.ts"
}
},
"dependencies": {}
}