-
Notifications
You must be signed in to change notification settings - Fork 101
/
package.json
79 lines (79 loc) · 3.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
{
"name": "quickjs-emscripten-repo",
"private": true,
"version": "0.31.0",
"sideEffects": false,
"license": "MIT",
"type": "commonjs",
"repository": {
"type": "git",
"url": "https://github.com/justjake/quickjs-emscripten"
},
"scripts": {
"prepack": "yarn build && yarn check:package",
"tarball": "yarn check:packages && rm -rf $PWD/build/tar && mkdir -p $PWD/build/tar && yarn for-each-package-cmd pack --out $PWD/build/tar/%s.tgz",
"prepare": "yarn check",
"clean": "git clean -dfx ./build && yarn for-each-package clean",
"prettier": "prettier --write .",
"vendor:quickjs:subtree": "git subtree $ACTION --prefix=vendor/quickjs --squash [email protected]:bellard/quickjs.git master",
"vendor:quickjs:pull": "ACTION=pull yarn vendor:quickjs:subtree && yarn vendor:quickjs:patch",
"vendor:quickjs:add": "ACTION=add yarn vendor:quickjs:subtree",
"vendor:quickjs:patch": "git apply vendor/quickjs-patches/*",
"vendor:ng:subtree": "git subtree $ACTION --prefix=vendor/quickjs-ng --squash [email protected]:quickjs-ng/quickjs.git master",
"vendor:ng:pull": "ACTION=pull yarn vendor:ng:subtree",
"vendor:ng:add": "ACTION=add yarn vendor:ng:subtree",
"vendor:update": "yarn vendor:quickjs:pull && yarn vendor:ng:pull",
"smoketest-node": "yarn tarball && ./scripts/smoketest-node-minimal.ts && ./scripts/smoketest-node.ts",
"smoketest-cra": "yarn tarball && ./scripts/smoketest-create-react-app.ts",
"smoketest-vite": "yarn tarball && ./scripts/smoketest-vite.ts",
"check": "yarn build && yarn check:packages && yarn check:format && yarn check:types && yarn test && yarn lint",
"test": "yarn for-each-package test",
"test:fast": "TEST_FAST=true TEST_NO_ASYNC=true yarn test",
"test:slow": "TEST_LEAK=1 yarn test",
"check:types": "yarn for-each-package tsc",
"check:format": "prettier --check .",
"check:packages": "./scripts/check-packages-built.ts",
"check:smoketest": "yarn tarball && ./scripts/smoketest-node-minimal.ts && ./scripts/smoketest-node.ts && ./scripts/smoketest-create-react-app.ts && ./scripts/smoketest-vite.ts",
"lint": "npx eslint .",
"fix": "yarn lint --fix ; yarn prettier > /dev/null",
"build": "yarn build:codegen && yarn build:packages && yarn doc",
"build:codegen": "cp -v README.md packages/quickjs-emscripten && ./scripts/prepareVariants.ts && yarn workspace @jitl/tsconfig build",
"build:packages": "yarn for-each-package build",
"doc": "typedoc",
"doc:serve": "cd doc && npx hads",
"all:publish:stable": "yarn run check:packages && yarn for-each-publishable-package npm publish --access public",
"all:publish:next": "yarn run check:packages && yarn for-each-publishable-package npm publish --access public --tag next",
"all:version": "./scripts/set-version.ts",
"for-each-package-cmd": "yarn workspaces foreach --from 'packages/*' --topological-dev -Rpti",
"for-each-publishable-package": "yarn for-each-package-cmd --exclude 'packages/internal-*'",
"for-each-package": "yarn for-each-package-cmd run"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@types/emscripten": "^1.38.0",
"@types/eslint": "^8",
"@types/fs-extra": "^9.0.13",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"fs-extra": "^10.0.1",
"glob": "^10.3.10",
"hads": "^3.0.3",
"node-fetch-commonjs": "^3.1.1",
"prettier": "^3.1.1",
"source-map-support": "^0.5.21",
"tsup": "^8.0.1",
"tsx": "^4.6.2",
"typedoc": "^0.25.4",
"typedoc-plugin-inline-sources": "^1.0.1",
"typedoc-plugin-markdown": "4.0.0-next.38",
"typescript": "^5.3.3",
"vite-tsconfig-paths": "^4.2.2",
"vitest": "2.0.5"
},
"packageManager": "[email protected]"
}