-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 5.74 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 5.74 KB
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
{
"name": "locutus",
"version": "3.0.34",
"description": "Locutus other languages' standard libraries to JavaScript for fun and educational purposes",
"keywords": [
"php",
"golang",
"c",
"ruby",
"python",
"js",
"locutus"
],
"homepage": "https://locutus.io",
"bugs": {
"url": "https://github.com/locutusjs/locutus/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/locutusjs/locutus.git"
},
"type": "module",
"license": "MIT",
"author": "Kevin van Zonneveld <[email protected]>",
"browser": {
"child_process": false,
"crypto": false,
"fs": false
},
"scripts": {
"browser:install": "playwright install chromium",
"browser:test": "vitest run --config vitest.browser.config.ts",
"browser:watch": "vitest --config vitest.browser.config.ts --watch",
"build:dist": "node scripts/rmrf.ts dist && cp -r src dist && cp package.json README.md dist && tsc -p tsconfig.build.json --outDir dist && tsc -p tsconfig.build.esm.json --outDir dist/esm && find dist -name '*.ts' ! -name '*.d.ts' -delete && node scripts/fix-cjs-exports.ts dist && node scripts/rmrf.ts dist/_util dist/esm/_util",
"build:indices": "node src/_util/cli.ts reindex",
"build:tests:noskip": "node scripts/rmrf.ts test/generated && node src/_util/cli.ts writetests --noskip",
"build:tests": "node scripts/rmrf.ts test/generated && node src/_util/cli.ts writetests",
"build": "npm-run-all 'build:*'",
"injectweb": "node scripts/rmrf.ts website/source/c website/source/golang website/source/php website/source/python website/source/ruby && node src/_util/cli.ts injectweb",
"check": "npm-run-all --serial fix:biome lint lint:ts lint:ts:strict-next lint:ts:debt:policy lint:api:snapshot lint:type:contracts lint:headers lint:no-stray-js test:languages",
"fix:biome": "biome check --write .",
"fix:headers": "node src/_util/formatHeaders.ts fix",
"lint:headers": "node src/_util/formatHeaders.ts check",
"discover:upstream-surface": "node scripts/enumerate-upstream-surface.ts",
"enumerate:upstream-surface": "node scripts/enumerate-upstream-surface.ts",
"fold:upstream-surface": "node scripts/fold-upstream-surface.ts",
"audit:upstream-scope": "node scripts/audit-upstream-scope.ts",
"refresh:upstream-surface": "node scripts/refresh-upstream-surface.ts",
"compare:dt:signatures": "node scripts/compare-definitelytyped-signatures.ts",
"select:parity": "node scripts/select-parity-targets.ts",
"lint:no-stray-js": "node scripts/check-allowed-js-files.ts",
"lint:ts": "tsc --noEmit -p tsconfig.json",
"lint:ts:strict-next": "tsc --noEmit -p tsconfig.strict-next.json",
"lint:ts:debt:policy": "node scripts/check-ts-debt-policy.ts",
"lint:api:snapshot:php": "node scripts/check-api-signature-snapshot.ts --scope=php",
"lint:api:snapshot:nonphp": "node scripts/check-api-signature-snapshot.ts --scope=non-php",
"lint:api:snapshot": "npm-run-all --serial lint:api:snapshot:php lint:api:snapshot:nonphp",
"lint:type:contracts": "node scripts/check-type-contracts-snapshot.ts",
"fix:api:snapshot:php": "node scripts/check-api-signature-snapshot.ts --scope=php --update",
"fix:api:snapshot:nonphp": "node scripts/check-api-signature-snapshot.ts --scope=non-php --update",
"fix:api:snapshot": "npm-run-all --serial fix:api:snapshot:php fix:api:snapshot:nonphp",
"fix:type:contracts": "node scripts/check-type-contracts-snapshot.ts --update",
"fix:markdown": "remark {README,CONTRIBUTING}.md --output",
"fix": "npm-run-all --serial 'fix:**'",
"lint": "biome check .",
"playground:start": "yarn browser:watch",
"test:languages:noskip": "yarn build:tests:noskip && vitest run",
"test:languages": "yarn build:tests && vitest run",
"test:module:smoke": "node test/module/module.ts",
"test:module": "npm-run-all --serial build:dist test:module:smoke",
"test:parity": "node test/parity/index.ts",
"test:parity:php": "node test/parity/index.ts php",
"test:upstream-surface": "node scripts/check-upstream-surface.ts",
"test:util": "vitest run test/util/",
"test": "npm-run-all test:languages test:module",
"website:install": "cd website && yarn",
"website:deploy": "cd website && yarn deploy",
"website:start": "cd website && yarn server",
"website:build": "cd website && yarn generate",
"website:clean": "cd website && yarn clean",
"website:verify": "node scripts/check-website-build.ts",
"website:ci": "npm-run-all --serial website:install injectweb website:build website:verify"
},
"devDependencies": {
"@biomejs/biome": "^2.4.6",
"@types/node": "^25.4.0",
"@vitest/browser-playwright": "^4.0.18",
"cross-env": "10",
"debug": "^4.4.3",
"js-yaml": "4.1.1",
"knip": "^5.86.0",
"npm-run-all": "^4.1.5",
"p-map": "^7.0.4",
"playwright": "^1.58.2",
"remark-cli": "^12.0.1",
"remark-toc": "^9.0.0",
"typescript": "^5.9.3",
"vitest": "^4.0.18",
"zod": "^4.3.6"
},
"resolutions": {
"ansi-regex@npm:^5.0.0": "5.0.1",
"brace-expansion@npm:^1.1.7": "1.1.12",
"brace-expansion@npm:^2.0.1": "2.0.2",
"braces@npm:~3.0.2": "3.0.3",
"cross-spawn@npm:^6.0.5": "6.0.6",
"cross-spawn@npm:^7.0.0": "7.0.5",
"glob@npm:^10.0.0": "10.5.0",
"glob@npm:^10.2.2": "10.5.0",
"glob@npm:^10.3.10": "10.5.0",
"hosted-git-info@npm:^2.1.4": "2.8.9",
"minimatch@npm:^3.0.4": "3.1.4",
"minimatch@npm:^9.0.0": "9.0.7",
"minimatch@npm:^9.0.1": "9.0.7",
"node-gyp@npm:latest": "12.2.0",
"rollup@npm:^4.43.0": "4.59.0",
"semver@npm:2 || 3 || 4 || 5": "5.7.2",
"semver@npm:^5.5.0": "5.7.2"
},
"packageManager": "[email protected]",
"engines": {
"node": ">= 22",
"yarn": ">= 1"
},
"readmeFilename": "README.md"
}