forked from teambit/bit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
308 lines (308 loc) · 12.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
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
{
"name": "@teambit/legacy",
"version": "1.0.209",
"license": "Apache-2.0",
"main": "./dist/api.js",
"preferGlobal": true,
"private": false,
"files": [
"/bin",
"/legacy-capsule",
"/dist"
],
"engines": {
"node": ">=12.22.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,jsx,tsx,css,scss,md,mdx}": [
"prettier --write",
"git add"
]
},
"pkg": {
"assets": [
"dist/analytics/analytics-sender.js",
"dist/specs-runner/worker.js"
]
},
"bin": {
"bit": "bin/bit.js"
},
"repository": {
"type": "git",
"url": "https://github.com/teambit/bit"
},
"keywords": [
"bit",
"components",
"collaboration",
"web",
"react",
"react-components",
"angular",
"angular-components",
"vue",
"vue-components"
],
"scripts": {
"dev-link": "node ./scripts/establish-dev-link.js $1",
"dev-link:windows": "node ./scripts/establish-dev-link-windows.js $1",
"ts-coverage": "type-coverage",
"check-types": "tsc",
"ts-watch": "tsc -w",
"lint": "tsc && eslint \"{src,e2e,scopes,components}/**/*.{ts,tsx}\"",
"lint:table": "eslint \"{src,e2e,scopes,components}/**/*.{ts,tsx}\" --format table",
"lint:html": "eslint \"{src,e2e,scopes,components}/**/*.{ts,tsx}\" --format html -o eslint-report.html",
"lint-circle": "eslint \"{src,e2e,scopes,components}/**/*.{ts,tsx}\" --format junit -o junit/eslint-results.xml",
"lint:fix": "eslint \"{src,e2e,scopes,components}/**/*.{ts,tsx}\" --fix",
"format": "prettier \"{src,e2e,scopes,components}/**/*.{ts,js,jsx,css,scss,tsx,md,mdx}\" --write",
"prettier:check": "prettier --list-different \"{src,e2e,scopes,components}/**/*.{ts,js,jsx,css,scss,tsx,md,mdx}\"",
"test": "mocha --require ./babel-register './src/**/*.spec.ts'",
"test:extensions": "mocha --require ./babel-register './scopes/**/*.spec.ts'",
"test:appveyor": "mocha --require ./babel-register --reporter mocha-appveyor-reporter ./src/**/*.spec.ts",
"test-circle": "mocha --require ./babel-register --reporter mocha-circleci-reporter './src/**/*.spec.ts'",
"mocha-circleci": "registry-mock prepare && mocha --require ./babel-register --reporter mocha-circleci-reporter",
"e2e-test": "registry-mock prepare && mocha --require ./babel-register ./e2e/**/*.e2e*.ts",
"e2e-test:debug": "npm run e2e-test --debug --keep-envs",
"e2e-test:ssh": "npm run e2e-test --with-ssh",
"e2e-test:ssh-debug": "npm run e2e-test --with-ssh --debug --keep-envs",
"e2e-test:appveyor1": "mocha --require ./babel-register --reporter mocha-appveyor-reporter ./e2e/**/*e2e.1.ts 2> output.err",
"e2e-test:appveyor2": "mocha --require ./babel-register --reporter mocha-appveyor-reporter ./e2e/**/*e2e.2.ts 2> output.err",
"e2e-test:appveyor3": "mocha --require ./babel-register --reporter mocha-appveyor-reporter ./e2e/**/*.e2e.3.ts 2> output.err",
"e2e-test:appveyor-debug-example": "set npm_config_debug=true && mocha --require ./babel-register --reporter mocha-appveyor-reporter ./e2e/**/*e2e.2.ts --reporter-options appveyorBatchSize=1",
"e2e-test-circle": "mocha --require ./babel-register --reporter mocha-circleci-reporter ./e2e/**/*.e2e*.ts",
"performance-test": "mocha --require ./babel-register ./e2e/performance/*.performance*.ts",
"performance-test-circle": "mocha --require ./babel-register --reporter mocha-circleci-reporter ./e2e/performance/*.performance*.ts",
"bit-hub-test-circle": "mocha --require ./babel-register --reporter mocha-circleci-reporter ./e2e/bit-hub/*.ts",
"clean": "rm -rf dist && rm -rf types",
"build": "npm run build:src",
"build:types": "./scripts/build-types.bash",
"build:types:windows": ".\\scripts\\build-types.bat",
"link-bit-legacy": "node ./scripts/link-bit-legacy.js",
"full-setup": "rm -rf node_modules/.bin/bit && rm -rf node_modules/@teambit/legacy && bit install && npm run link-bit-legacy && bit compile && npm run build && npm run build:types",
"full-setup:bbit": "rm -rf node_modules/.bin/bbit && rm -rf node_modules/@teambit/legacy && bbit install && npm run link-bit-legacy && bbit compile && npm run build && npm run build:types",
"full-setup:windows": "bit install && npm run link-bit-legacy && bit compile && npm run build && npm run build:types:windows",
"full-setup:windows:bbit": "bbit install && npm run link-bit-legacy && bbit compile && npm run build && npm run build:types:windows",
"build-centos-image": "docker build ./scripts/linux/centos -t centos-rpm",
"build-debian-image": "docker build ./scripts/linux/debian -t debian-deb",
"doc-gen": "node ./scripts/doc-generator.js",
"pkg": "pkg bin/bit.js --targets node10 --out-path releases/ --options --no-warnings --config package.json",
"pkg:linux": "pkg bin/bit.js --targets node10-linux-x64 --out-path releases/linux --options --no-warnings --config package.json",
"pkg:mac": "pkg bin/bit.js --targets node10-macos-x64 --out-path releases/mac --options --no-warnings --config package.json",
"pkg:windows": "pkg bin/bit.js --targets node10-win-x64 --out-path releases/windows --options --no-warnings --config package.json",
"pkg:all": "pkg bin/bit.js --targets node10-macos-x64,node10-win-x64,node10-linux-x64 --out-path releases/ --options --no-warnings --config package.json",
"watch": "babel --watch src -d dist --verbose --source-maps --extensions \".ts,.tsx,.js\" --copy-files",
"build-debug": "babel src -d dist --source-maps --extensions \".ts\"",
"prepublishOnly": "npm run clean && npm run build && npm run build:types",
"pre-release": "gh-release -a releases/bit-legacy-linux,releases/bit-legacy-win.exe,releases/bit-legacy-macos --prerelease",
"release": "gh-release -a releases/bit-legacy-linux,releases/bit-legacy-win.exe,releases/bit-legacy-macos",
"release:circle": "gh-release -a releases/bit-legacy-linux,releases/bit-legacy-win.exe,releases/bit-legacy-macos -y",
"pre-release:circle": "gh-release -a releases/bit-legacy-linux,releases/bit-legacy-win.exe,releases/bit-legacy-macos -y --prerelease",
"pre-release:inc-pack": "npm run pkg:all && npm run pre-release",
"release:inc-pack": "npm run pkg:all && npm run release",
"brew-bump:dry-run": "BIT_VERSION=$(cat ./package.json | jq .version -r) && brew bump-formula-pr bit --url='https://registry.npmjs.org/bit-bin/-/bit-bin-${BIT_VERSION}.tgz' --message='version bump' --dry-run",
"brew-bump": "BIT_VERSION=$(cat ./package.json | jq .version -r) && brew bump-formula-pr bit --url='https://registry.npmjs.org/bit-bin/-/bit-bin-${BIT_VERSION}.tgz' --message='version bump'",
"types-wip": "tsc -p tsconfig.types-clean.json --outfile dist/index.d.ts",
"assert:master": "node ./scripts/assert-master.js",
"nightly": "npm run assert:master && git tag -d manual-nightly && git push --delete origin manual-nightly && git tag manual-nightly && git push origin manual-nightly",
"build:ext": "tsc -p tsconfig.extensions.json",
"build:pjson": "cp package.json dist/",
"build:src": "babel src -d dist --verbose --extensions \".ts,.tsx,.js\" --copy-files"
},
"dependencies": {
"@teambit/toolbox.network.agent": "0.0.116",
"@babel/core": "7.12.17",
"@babel/runtime": "7.12.18",
"@teambit/network.agent": "0.0.1",
"@vuedoc/parser": "2.4.0",
"acorn": "6.4.2",
"ajv": "6.12.6",
"app-module-path": "2.2.0",
"array-difference": "0.0.2",
"async-mutex": "0.3.1",
"bluebird": "3.7.2",
"cacache": "15.0.5",
"chalk": "2.4.2",
"checksum": "0.1.1",
"chokidar": "3.5.1",
"cli-spinners": "1.3.1",
"comment-json": "3.0.3",
"core-js": "3.9.0",
"css-tree": "1.1.2",
"debug": "4.3.2",
"decamelize": "1.2.0",
"detect-indent": "5.0.0",
"detect-newline": "3.1.0",
"detective-amd": "3.0.1",
"detective-stylus": "1.0.0",
"doctrine": "2.1.0",
"enhanced-resolve": "4.5.0",
"execa": "2.1.0",
"find-up": "5.0.0",
"firstline": "2.0.2",
"fs-extra": "10.0.0",
"gitconfig": "2.0.8",
"glob": "7.1.6",
"globby": "11.0.1",
"graphlib": "2.1.8",
"graphql-request": "3.4.0",
"graphviz": "0.0.9",
"group-array": "1.0.0",
"ignore": "3.3.10",
"ini-builder": "1.1.1",
"ink": "3.0.8",
"ink-spinner": "4.0.3",
"inquirer": "6.5.2",
"inquirer-fuzzy-path": "2.3.0",
"is-glob": "4.0.1",
"is-relative-path": "2.0.0",
"is-url": "1.2.4",
"isbinaryfile": "4.0.6",
"lodash": "4.17.21",
"lodash.assignwith": "4.2.0",
"lodash.groupby": "4.6.0",
"lodash.merge": "4.6.2",
"lodash.partition": "4.6.0",
"lodash.set": "4.3.2",
"lodash.toarray": "4.4.0",
"lodash.unionby": "4.8.0",
"lru-cache": "6.0.0",
"make-fetch-happen": "4.0.2",
"memfs": "3.2.2",
"minimatch": "3.0.4",
"mockery": "2.1.0",
"module-definition": "3.3.1",
"moment": "2.29.1",
"node-fetch": "2.6.1",
"node-source-walk": "4.2.0",
"normalize-path": "2.1.1",
"npm-run-all": "4.1.5",
"object-assign": "4.1.1",
"object-diff": "0.0.4",
"object-hash": "2.1.1",
"open": "7.4.2",
"ora": "5.4.1",
"p-event": "4.2.0",
"p-map": "4.0.0",
"p-map-series": "2.1.0",
"p-queue": "6.6.2",
"p-series": "2.1.0",
"package-json-validator": "0.6.3",
"pad-right": "0.2.2",
"parse-gitignore": "1.0.1",
"pino": "6.11.1",
"pino-pretty": "4.5.0",
"porter-stemmer": "0.9.1",
"prettier": "2.3.2",
"prompt": "1.1.0",
"ramda": "0.27.1",
"ramda-adjunct": "2.31.1",
"react-docgen": "5.3.1",
"react-docgen-typescript": "1.21.0",
"read-pkg-up": "7.0.1",
"readable-stream": "3.6.0",
"regenerator-runtime": "0.13.7",
"resolve": "1.20.0",
"resolve-dependency-path": "2.0.0",
"sass": "1.43.4",
"sass-lookup": "3.0.0",
"semver": "7.3.4",
"serialize-error": "5.0.0",
"ssh2": "1.4.0",
"string-format": "0.5.0",
"stringify-package": "1.0.1",
"stylus-lookup": "3.0.2",
"symlink-or-copy": "1.3.1",
"table": "5.4.6",
"tar-stream": "2.2.0",
"tsyringe": "4.4.0",
"cli-table": "0.3.6",
"uid-number": "0.0.6",
"unionfs": "3.0.2",
"uniqid": "5.3.0",
"user-home": "2.0.0",
"uuid": "3.4.0",
"validate-npm-package-name": "3.0.0",
"vinyl": "2.2.1",
"vinyl-file": "3.0.0",
"vue-template-compiler": "2.6.12",
"winston": "3.3.3",
"yargs": "17.0.1",
"yn": "2.0.0"
},
"devDependencies": {
"@babel/cli": "7.12.17",
"@babel/plugin-proposal-class-properties": "7.12.13",
"@babel/plugin-proposal-decorators": "7.12.13",
"@babel/plugin-proposal-object-rest-spread": "7.12.13",
"@babel/plugin-transform-modules-commonjs": "7.12.13",
"@babel/plugin-transform-runtime": "7.12.17",
"@babel/preset-env": "7.12.17",
"@babel/preset-react": "7.13.13",
"@babel/preset-typescript": "7.12.17",
"@babel/register": "7.12.13",
"@types/bluebird": "3.5.33",
"@types/cacache": "12.0.1",
"@types/cli-table": "^0.3.0",
"@types/chai": "4.2.15",
"@types/chai-arrays": "1.0.3",
"@types/chai-fs": "2.0.2",
"@types/chai-string": "1.4.2",
"@types/fs-extra": "9.0.7",
"@types/graphlib": "2.1.7",
"@types/minimatch": "3.0.4",
"@types/mocha": "5.2.7",
"@types/node": "12.20.4",
"@types/node-fetch": "2.5.8",
"@types/object-hash": "1.3.4",
"@types/pino": "6.3.6",
"@types/prettier": "2.3.2",
"@types/sass": "1.16.0",
"@types/semver": "7.3.4",
"@types/uuid": "3.4.9",
"@types/yargs": "17.0.0",
"@typescript-eslint/eslint-plugin": "4.30.0",
"@typescript-eslint/parser": "4.30.0",
"@typescript-eslint/typescript-estree": "4.30.0",
"babel-eslint": "9.0.0",
"babel-plugin-ramda": "2.0.0",
"babel-plugin-transform-typescript-metadata": "0.3.1",
"chai": "4.3.0",
"chai-arrays": "1.1.0",
"chai-fs": "1.0.0",
"chai-string": "1.5.0",
"eslint": "7.32.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-mocha": "6.3.0",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-simple-import-sort": "5.0.3",
"gh-release": "3.5.0",
"husky": "4.3.8",
"lint-staged": ">=10",
"mocha": "5.2.0",
"mocha-appveyor-reporter": "0.4.2",
"mocha-circleci-reporter": "0.0.3",
"mocha-junit-reporter": "1.23.3",
"mock-fs": "4.13.0",
"prettier-eslint": "11.0.0",
"rewire": "4.0.1",
"sinon": "5.1.1",
"tar": "6.1.11",
"type-coverage": "2.15.1",
"typescript": "4.4.2"
},
"pnpm": {
"neverBuiltDependencies": [
"core-js"
]
}
}