-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
122 lines (122 loc) · 4.45 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
{
"name": "esprima-next",
"description": "ECMAScript parsing infrastructure for multipurpose analysis",
"homepage": "https://github.com/node-projects/esprima-next/",
"main": "./dist/esprima.cjs",
"module": "./dist/esprima.js",
"types": "./dist/esprima.d.ts",
"type": "module",
"exports": {
".": {
"require": "./dist/esprima.cjs",
"import": "./dist/esprima.js",
"default": "./dist/esprima.js"
}
},
"bin": {
"esparse": "./bin/esparse.js",
"esvalidate": "./bin/esvalidate.js"
},
"version": "6.0.3",
"files": [
"bin",
"dist/esprima.js",
"dist/esprima.d.ts",
"dist/esprima.cjs",
"dist/esprima.d.cts"
],
"engines": {
"node": ">=12"
},
"author": {
"name": "Ariya Hidayat",
"email": "[email protected]"
},
"maintainers": [
{
"name": "Ariya Hidayat",
"email": "[email protected]",
"web": "http://ariya.ofilabs.com"
}
],
"repository": {
"type": "git",
"url": "https://github.com/node-projects/esprima-next.git"
},
"bugs": {
"url": "https://github.com/node-projects/esprima-next/issues"
},
"license": "BSD-2-Clause",
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"codecov.io": "~0.1.6",
"crlf": "^1.1.1",
"eslint": "^8.56.0",
"eslint-plugin-esprima-internal": "file:eslint",
"everything.js": "~1.0.3",
"glob": "~10.3.10",
"istanbul": "~0.4.0",
"jest": "^29.7.0",
"json-diff": "~1.0.6",
"mocha": "~10.2.0",
"node-tick-processor": "~0.0.2",
"regenerate": "~1.4.2",
"replace-in-files-cli": "^2.2.0",
"results-interpreter": "~1.0.0",
"temp": "~0.9.4",
"test262-stream": "~1.4.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tsup": "^8.0.1",
"typescript": "~5.3.3",
"typescript-formatter": "~7.2.2",
"unicode-12.1.0": "^0.8.0"
},
"keywords": [
"ast",
"ecmascript",
"esprima",
"javascript",
"parser",
"syntax"
],
"scripts": {
"tsup": "tsup src/esprima.ts --format cjs,esm --dts --clean",
"prepare": "test -f esprima/dist/esprima.js || npm run test",
"check-version": "node test/check-version.js",
"lint-code": "eslint src/*.ts",
"code-style": "tsfmt --verify src/*.ts && tsfmt --verify test/*.js",
"format-code": "tsfmt -r src/*.ts && tsfmt -r test/*.js",
"static-analysis": "npm run check-version && npm run lint-code && npm run code-style",
"hostile-env-tests": "node test/hostile-environment-tests.js",
"unit-tests": "node test/unit-tests.js",
"api-tests": "mocha -R dot test/api-tests.js",
"grammar-tests": "node test/grammar-tests.js",
"regression-tests": "node test/regression-tests.js",
"test-262": "npm install git+https://[email protected]/tc39/test262.git#08a9fc2 && node test/test-262.js",
"esm-tests": "node test/test-sideEffects/test.js",
"all-tests": "npm run esm-tests && npm run verify-line-ending && npm run generate-fixtures && npm run unit-tests && npm run api-tests && npm run grammar-tests && npm run regression-tests && npm run hostile-env-tests",
"verify-line-ending": "node test/verify-line-ending.js",
"generate-fixtures": "node tools/generate-fixtures.js",
"analyze-coverage": "istanbul cover test/unit-tests.js",
"check-coverage": "istanbul check-coverage --statement 100 --branch 100 --function 100",
"dynamic-analysis": "npm run analyze-coverage && npm run check-coverage",
"watch": "tsc --project src/es.tsconfig.json --watch",
"compile": "npm run tsup",
"test": "npm run compile && npm run all-tests && npm run jest",
"jest": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"testOld": "npm run compile && npm run all-tests && npm run static-analysis && npm run dynamic-analysis",
"prepublish": "npm run compile",
"profile": "node --prof test/profile.js && mv isolate*.log v8.log && node-tick-processor",
"benchmark-parser": "node -expose_gc test/benchmark-parser.js",
"benchmark-tokenizer": "node --expose_gc test/benchmark-tokenizer.js",
"benchmark": "npm run benchmark-parser && npm run benchmark-tokenizer",
"codecov": "istanbul report cobertura && codecov < ./coverage/cobertura-coverage.xml",
"downstream": "node test/downstream.js",
"generate-regex": "node tools/generate-identifier-regex.js",
"generate-xhtml-entities": "node tools/generate-xhtml-entities.js"
}
}