This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 424
/
package.json
161 lines (161 loc) · 7.12 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
{
"name": "prepack",
"version": "0.2.55-alpha.0",
"description": "Execute a JS bundle, serialize global state and side effects to a snapshot that can be quickly restored.",
"homepage": "https://github.com/facebook/prepack",
"repository": {
"type": "git",
"url": "git://github.com/facebook/prepack.git"
},
"bugs": {
"url": "https://github.com/facebook/prepack/issues"
},
"files": [
"LICENSE",
"PATENTS",
"/bin/",
"/lib/"
],
"bin": {
"prepack": "bin/prepack.js",
"prepack-repl": "bin/prepack-repl.js"
},
"main": "lib/prepack-node.js",
"browser": "lib/prepack-standalone.js",
"scripts": {
"build": "yarn build-prepack && yarn build-bundle",
"build-scripts": "babel scripts --out-dir lib --source-maps",
"build-bundle": "webpack-cli --silent",
"build-prepack": "babel src --out-dir lib --source-maps",
"watch": "babel src scripts --out-dir lib --watch --source-maps --verbose",
"lint": "eslint src scripts",
"flow": "flow",
"flow-ci": "flow version; flow check",
"test-serializer": "babel-node --stack_trace_limit=200 --stack_size=10000 scripts/test-runner.js",
"test-serializer-single": "yarn test-serializer --debugNames --verbose --fast --filter",
"test-serializer-with-coverage": "./node_modules/.bin/istanbul cover ./lib/test-error-handler.js --dir coverage.error && node --stack_trace_limit=200 --stack_size=10000 ./node_modules/istanbul/lib/cli.js cover ./lib/test-runner.js && ./node_modules/.bin/remap-istanbul -i coverage.error/coverage.json -i coverage/coverage.json -o coverage-sourcemapped -t html",
"test-sourcemaps": "babel-node scripts/generate-sourcemaps-test.js && bash < scripts/test-sourcemaps.sh",
"test-test262": "babel-node scripts/test262-runner.js",
"test-test262-nightly": "NIGHTLY_BUILD=true babel-node scripts/test262-runner.js",
"test-test262-new": "babel-node scripts/test262.js",
"test-internal": "babel-node --stack_size=10000 --stack_trace_limit=200 --max_old_space_size=32768 scripts/test-internal.js",
"test-internal-react": "babel-node --stack_size=10000 --stack_trace_limit=200 --max_old_space_size=32768 scripts/test-internal-react.js",
"test-error-handler": "babel-node scripts/test-error-handler.js",
"test-error-handler-with-coverage": "./node_modules/.bin/istanbul cover ./lib/test-error-handler.js --dir coverage.error && ./node_modules/.bin/remap-istanbul -i coverage.error/coverage.json -o coverage-sourcemapped.error -t html",
"test-std-in": "bash < scripts/test-std-in.sh",
"test-react": "jest",
"test-react-fast": "SKIP_REACT_JSX_TESTS=true jest",
"test": "yarn test-serializer && yarn test-sourcemaps && yarn test-error-handler && yarn test-std-in && yarn test-test262 && yarn test-internal && yarn test-internal-react && yarn test-react",
"test-coverage-most": "./node_modules/.bin/istanbul --stack_size=10000 --max_old_space_size=16384 cover ./lib/multi-runner.js --dir coverage.most && ./node_modules/.bin/remap-istanbul -i coverage.most/coverage.json -o coverage-sourcemapped -t html",
"test-all-coverage": "./node_modules/.bin/istanbul --stack_size=10000 --max_old_space_size=16384 cover ./lib/multi-runner.js --dir coverage.most && ./node_modules/.bin/istanbul --stack_size=10000 --max_old_space_size=16384 cover ./lib/test262-runner.js --timeout 50 --singleThreaded && ./node_modules/.bin/remap-istanbul -i coverage/coverage.json -i coverage.most/coverage.json -o coverage-sourcemapped -t html",
"repl": "node lib/repl-cli.js",
"precheck": "yarn prepack-cli --check",
"prepack-cli": "node --stack_size=10000 --stack_trace_limit=200 --max_old_space_size=16384 lib/prepack-cli.js --compatibility jsc-600-1-4-17 --mathRandomSeed 0",
"validate": "yarn install --frozen-lockfile && yarn build && yarn build-scripts && yarn lint && yarn depcheck && yarn flow && yarn test",
"prepublishOnly": "yarn build",
"depcheck": "babel-node scripts/detect_bad_deps.js",
"prettier": "node ./scripts/prettier.js write-changed",
"prettier-all": "node ./scripts/prettier.js write",
"prettier-ci": "node ./scripts/prettier.js",
"debug-fb-www": "node --stack_trace_limit=200 --stack_size=10000 --max_old_space_size=16384 ./scripts/debug-fb-www.js",
"fuzz": "cd fuzzer && yarn && yarn test",
"fuzz-sample": "cd fuzzer && yarn && yarn sample",
"fuzz-overnight": "cd fuzzer && yarn && yarn overnight"
},
"dependencies": {
"@babel/core": "^7.0.0",
"@babel/generator": "^7.0.0",
"@babel/node": "^7.0.0",
"@babel/parser": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/template": "^7.0.0",
"@babel/traverse": "^7.0.0",
"@babel/types": "^7.0.0",
"fbjs": "^0.8.16",
"node-zip": "^1.1.1",
"queue-fifo": "^0.2.3",
"seedrandom": "^2.4.2",
"source-map": "^0.5.6",
"vscode-debugadapter": "^1.24.0",
"vscode-debugprotocol": "^1.24.0",
"zip-dir": "^1.0.2"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-syntax-flow": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
"@babel/plugin-transform-react-display-name": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^8.2.6",
"babel-jest": "^23.4.0",
"babel-loader": "^8.0.0-beta",
"babel-plugin-jest-hoist": "^23.2.0",
"chalk": "^1.1.3",
"eslint": "^4.18.2",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-flow-header": "^0.1.1",
"eslint-plugin-flowtype": "^2.40.0",
"eslint-plugin-header": "^1.0.0",
"eslint-plugin-prettier": "^2.1.2",
"flow-typed": "^2.3.0",
"graceful-fs": "^4.1.11",
"invariant": "^2.2.0",
"istanbul": "^0.4.5",
"jest": "^23.4.1",
"js-beautify": "^1.7.5",
"js-yaml": "^3.6.1",
"jsdom": "^9.2.1",
"madge": "^1.6.0",
"minimist": "^1.2.0",
"prettier": "1.17.0",
"prop-types": "^15.6.0",
"react": "16.3.1",
"react-dom": "16.3.1",
"react-native": "^0.55.4",
"react-relay": "^1.4.1",
"react-test-renderer": "16.3.1",
"regenerator-runtime": "^0.12.0",
"remap-istanbul": "^0.9.1",
"source-map-support": "^0.4.6",
"test262-integrator": "^1.2.0",
"webpack": "^4.16.0",
"webpack-cli": "^3.0.8"
},
"optionalDependencies": {
"v8-profiler-node8": "^6.0.1"
},
"engines": {
"node": ">=6.1.0"
},
"keywords": [
"prepack"
],
"license": "BSD-3-Clause",
"author": "Facebook",
"jest": {
"preset": "react-native",
"roots": [
"<rootDir>/node_modules/react-native/",
"<rootDir>/lib/",
"<rootDir>/test/react/",
"<rootDir>/fb-www/"
],
"testEnvironment": "jsdom",
"testMatch": [
"**/test/react/*-test.js",
"**/fb-www/**/*-test.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!react-native).+\\.js$"
]
}
}