-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
58 lines (58 loc) · 3.79 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
{
"name": "plv8ify",
"version": "0.0.60",
"type": "module",
"main": "dist/src/index.js",
"license": "MIT",
"bin": {
"plv8ify": "dist/src/index.js"
},
"prepublish": "chmod +x dist/src/index.js",
"dependencies": {
"arg": "5.0.1",
"dotenv": "16.0.3",
"esbuild": "0.14.18",
"postgres": "3.3.3",
"tasuku": "2.0.1",
"ts-morph": "13.0.3",
"ts-pattern": "3.3.5",
"webpack-node-externals": "3.0.0"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "3.2.0",
"@turf/distance": "6.5.0",
"@turf/helpers": "6.5.0",
"@types/dotenv": "8.2.0",
"@types/node": "18.11.7",
"bun-types": "1.0.1",
"mathjs": "11.6.0",
"object-hash": "3.0.0",
"prettier": "2.5.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"typescript": "5.2.2"
},
"scripts": {
"build": "rm -rf dist; tsc --project tsconfig.build.json",
"prepublish": "bun build",
"test": "bun test",
"dev": "bun example:turf-js",
"test:prod-version": "bun run build && bun run --bun dist/src/index.js version",
"test:prod-version-node": "bun run build && yarn node dist/src/index.js version",
"test:prod": "bun run build && bun run --bun dist/src/index.js generate --input-file examples/turf-js/input.ts --output-folder examples/turf-js/plv8ify-dist",
"test:prod-node": "bun run build && yarn node dist/src/index.js generate --input-file examples/turf-js/input.ts --output-folder examples/turf-js/plv8ify-dist",
"example:hello": "bun run --bun src/index.ts generate --input-file examples/hello/input.ts --output-folder examples/hello/plv8ify-dist",
"example:hello-start_proc": "bun run --bun src/index.ts generate --input-file examples/hello-start_proc/input.ts --output-folder examples/hello-start_proc/plv8ify-dist --mode start_proc",
"example:hello-bundle": "bun run --bun src/index.ts generate --input-file examples/hello-bundle/input.ts --output-folder examples/hello-bundle/plv8ify-dist --mode bundle --scope-prefix myScope",
"example:turf-js": "bun run --bun src/index.ts generate --input-file examples/turf-js/input.ts --output-folder examples/turf-js/plv8ify-dist",
"example:turf-js-distance": "bun run --bun src/index.ts generate --input-file examples/turf-js-distance/input.ts --output-folder examples/turf-js-distance/plv8ify-dist",
"example:mathjs": "bun run --bun src/index.ts generate --input-file examples/mathjs/input.ts --output-folder examples/mathjs/plv8ify-dist",
"example:react-js": "bun run --bun src/index.ts generate --input-file examples/react-js/input.tsx --output-folder examples/react-js/plv8ify-dist",
"example:trackfootball": "bun run --bun src/index.ts generate --input-file examples/trackfootball/input.tsx --output-folder examples/trackfootball/plv8ify-dist",
"example:object-hash": "bun run --bun src/index.ts generate --input-file examples/object-hash/input.ts --output-folder examples/object-hash/plv8ify-dist",
"example:common-types": "bun run --bun src/index.ts generate --input-file examples/common-types/input.ts --types-config-file examples/common-types/types.ts --output-folder examples/common-types/plv8ify-dist",
"example:hello-custom-type": "bun run --bun src/index.ts generate --input-file examples/hello-custom-type/input.ts --types-config-file examples/hello-custom-type/types.ts --output-folder examples/hello-custom-type/plv8ify-dist",
"example:trigger": "bun run --bun src/index.ts generate --input-file examples/trigger/input.ts --output-folder examples/trigger/plv8ify-dist",
"examples": "bun example:hello; bun example:hello-start_proc; bun example:hello-bundle; bun example:turf-js; bun example:turf-js-distance; bun example:mathjs; bun example:react-js; bun example:object-hash; bun example:turf-js-distance; bun example:common-types; bun example:hello-custom-type; bun example:trigger"
}
}