-
Notifications
You must be signed in to change notification settings - Fork 178
/
package.json
135 lines (135 loc) · 5.82 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
{
"private": true,
"//": "Copyright (c) Meta Platforms, Inc. and affiliates.",
"name": "fbt-top-level-repo",
"version": "1.0.1",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/generator": "^7.2.0",
"@babel/node": "7.2.2",
"@babel/plugin-proposal-class-properties": "7.1.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
"@babel/plugin-proposal-optional-catch-binding": "^7.2.0",
"@babel/plugin-proposal-optional-chaining": "7.0.0",
"@babel/plugin-syntax-bigint": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-flow": "^7.2.0",
"@babel/plugin-syntax-jsx": "^7.2.0",
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.2.0",
"@babel/plugin-syntax-numeric-separator": "^7.2.0",
"@babel/plugin-syntax-object-rest-spread": "^7.2.0",
"@babel/plugin-syntax-optional-catch-binding": "^7.2.0",
"@babel/plugin-syntax-optional-chaining": "^7.2.0",
"@babel/plugin-transform-arrow-functions": "^7.0.0",
"@babel/plugin-transform-block-scoped-functions": "^7.12.0",
"@babel/plugin-transform-block-scoping": "^7.12.0",
"@babel/plugin-transform-classes": "^7.12.0",
"@babel/plugin-transform-computed-properties": "^7.12.0",
"@babel/plugin-transform-destructuring": "^7.12.0",
"@babel/plugin-transform-flow-strip-types": "^7.2.0",
"@babel/plugin-transform-for-of": "^7.12.0",
"@babel/plugin-transform-function-name": "^7.12.0",
"@babel/plugin-transform-literals": "^7.12.0",
"@babel/plugin-transform-member-expression-literals": "^7.12.0",
"@babel/plugin-transform-modules-commonjs": "^7.12.0",
"@babel/plugin-transform-object-super": "^7.12.0",
"@babel/plugin-transform-parameters": "^7.12.0",
"@babel/plugin-transform-property-literals": "^7.12.0",
"@babel/plugin-transform-react-display-name": "^7.12.0",
"@babel/plugin-transform-shorthand-properties": "^7.12.0",
"@babel/plugin-transform-spread": "^7.12.0",
"@babel/plugin-transform-template-literals": "^7.12.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@cnakazawa/watch": "^1.0.3",
"babel-core": "7.0.0-bridge.0",
"babel-plugin-syntax-trailing-function-commas": "^7.0.0-beta.0",
"babel-preset-fbjs": "^3.1.2",
"del": "^3.0.0",
"fbjs-scripts": "^1.2.0",
"flow-bin": "0.207.0",
"gulp": "^4.0.0",
"gulp-babel": "^8.0.0",
"gulp-clean-css": "^4.0.0",
"gulp-concat": "^2.6.1",
"gulp-derequire": "^2.1.0",
"gulp-each": "^0.5.0",
"gulp-flatten": "^0.4.0",
"gulp-header": "^2.0.9",
"gulp-if": "^2.0.2",
"gulp-once": "^2.1.1",
"gulp-rename": "^1.4.0",
"gulp-util": "^3.0.8",
"invariant": "^2.2.4",
"jest": "^24.9.0",
"jest-cli": "^24.9.0",
"jest-docblock": "^22.2.0",
"prettier": "^2.0.5",
"react-dom": "^16.10.2",
"semver": "^7.3.5",
"webpack": "^5.76.0",
"webpack-stream": "^5.2.1"
},
"dependencies": {
"@babel/plugin-transform-runtime": "^7.2.0",
"babel-plugin-minify-replace": "^0.5.0",
"shelljs": "^0.8.5"
},
"scripts": {
"babel-plugin-fbt-runtime:test": "jest packages/babel-plugin-fbt-runtime",
"babel-plugin-fbt:test": "jest packages/babel-plugin-fbt",
"babel-plugin-fbt:watch": "yarn workspace babel-plugin-fbt watch",
"fbt:test": "jest packages/fbt",
"fbt:watch": "gulp watch-runtime",
"build-runtime": "gulp build-runtime",
"clean-build": "yarn install && yarn workspace demo-app clean-build",
"clean-build-offline": "yarn install --offline && yarn workspace demo-app clean-build",
"clean-test": "yarn clean-build && yarn test",
"clean-test-offline": "yarn clean-build-offline && yarn test",
"clean": "gulp clean",
"demo-app:test": "yarn workspace demo-app test",
"fb-tiger-hash:test": "jest fb-tiger-hash && yarn workspace fb-tiger-hash test-types",
"gulp-rewrite-flowtyped-modules:test": "yarn workspace gulp-rewrite-flowtyped-modules test",
"gulp-strip-docblock-pragmas:test": "yarn workspace gulp-strip-docblock-pragmas test",
"babel-plugin-standalone:test": "yarn workspace @fbtjs/babel-plugin-standalone build && yarn workspace @fbtjs/babel-plugin-standalone test",
"flow:check": "flow check --show-all-errors",
"flow:watch": "yarn watch 'yarn flow stop && yarn flow check --show-all-errors 2>&1 | tee .flow-results' . --ignoreDotFiles",
"postinstall": "gulp --series clean build-runtime",
"//": "Needed because the yarn+workspace `install` process creates the bin scripts' symbolic links ONLY BEFORE running the install steps",
"create_dummy_bin_scripts_for_yarn_install": "mkdir -p packages/babel-plugin-fbt/dist/bin 2> /dev/null ; cp packages/babel-plugin-fbt/src/bin/*.bin.js packages/babel-plugin-fbt/dist/bin",
"preinstall": "yarn create_dummy_bin_scripts_for_yarn_install",
"test:watch": "jest --watch",
"test": "yarn workspace demo-app test-build-scripts && jest && yarn flow:check",
"top-level:test": "yarn jest __tests__/*",
"watch": "yarn workspace demo-app watch:fbts & yarn babel-plugin-fbt:watch"
},
"resolutions": {
"**/@babel/core": "^7.2.0",
"**/@babel/generator": "^7.2.0",
"**/cross-spawn": "^6.0.5",
"**/loader-utils": "^1.4.2",
"**/webpack": "^5.76.0",
"**/tough-cookie": "4.1.3",
"**/json-schema": "0.4.0",
"**/jsprim": "1.4.2",
"**/ip": "^2.0.1"
},
"workspaces": [
"demo-app",
"packages/babel-plugin-fbt-runtime",
"packages/babel-plugin-standalone",
"packages/babel-plugin-fbt",
"packages/default-collection-transform",
"packages/fb-babel-plugin-utils",
"packages/fb-tiger-hash",
"packages/fbt",
"packages/gulp-rewrite-flowtyped-modules",
"packages/gulp-strip-docblock-pragmas"
],
"engines": {
"node": ">= 12.16.0"
}
}