mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
154 lines
5.4 KiB
JSON
154 lines
5.4 KiB
JSON
{
|
|
"name": "@magic-works/engine262",
|
|
"version": "0.0.1",
|
|
"packageManager": "npm@9.8.0",
|
|
"description": "Implementation of ECMA-262 in JavaScript",
|
|
"author": "engine262 Contributors",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/engine262/engine262#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/engine262/engine262/issues"
|
|
},
|
|
"main": "lib/engine262.js",
|
|
"types": "./declaration/index.d.mts",
|
|
"imports": {
|
|
"#self": {
|
|
"rollup": "./src/index.mts",
|
|
"types": "./declaration/index.d.mts",
|
|
"default": "./lib/engine262.mjs"
|
|
},
|
|
"#self/inspector": {
|
|
"types": "./lib/inspector/index.d.mts",
|
|
"default": "./lib/inspector.mjs"
|
|
}
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"require": {
|
|
"types": "./declaration/index.d.mts",
|
|
"default": "./lib/engine262.js"
|
|
},
|
|
"import": {
|
|
"types": "./declaration/index.d.mts",
|
|
"default": "./lib/engine262.mjs"
|
|
}
|
|
},
|
|
"./inspector": {
|
|
"require": {
|
|
"types": "./declaration-inspector/index.d.mts",
|
|
"default": "./lib/inspector.js"
|
|
},
|
|
"import": {
|
|
"types": "./declaration-inspector/index.d.mts",
|
|
"default": "./lib/inspector.mjs"
|
|
}
|
|
},
|
|
"./lib/": "./lib/"
|
|
},
|
|
"scripts": {
|
|
"start": "node --enable-source-maps --disable-warning=ExperimentalWarning --experimental-strip-types ./lib-src/node/bin.mts",
|
|
"inspector": "node ./website/server.mjs -c-1",
|
|
"lint": "cross-env NODE_OPTIONS=\"--enable-source-maps --disable-warning=ExperimentalWarning --experimental-strip-types\" eslint test/ src/ bin/ lib-src/ scripts/ --cache --ext=js,mjs,mts",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"gen-err": "node scripts/generate_error_message_hint.mts",
|
|
"watch": "run-p \"watch:*\"",
|
|
"build": "run-s gen-err \"build:*\"",
|
|
"build:regex_data": "node --enable-source-maps --disable-warning=ExperimentalWarning --experimental-strip-types scripts/gen_regex_sets.mts",
|
|
"build:dts": "tsc -b .",
|
|
"watch:dts": "tsc -b . -w",
|
|
"build:engine": "cross-env NODE_OPTIONS=\"--enable-source-maps --disable-warning=ExperimentalWarning --experimental-strip-types\" rollup -c ./scripts/rollup.config.mts",
|
|
"watch:engine": "npm run build:engine -- --watch",
|
|
"test:all": "run-s -c test:inspector test:owned test:json test:test262",
|
|
"test": "run-s -c test:owned test:json test:test262",
|
|
"test:test262": "node --enable-source-maps --disable-warning=ExperimentalWarning --experimental-strip-types test/test262/test262.mts",
|
|
"test:owned": "vitest test/engine262 --watch=false",
|
|
"test:owned:watch": "vitest test/engine262",
|
|
"test:owned:coverage": "vitest test/engine262 --coverage",
|
|
"test:json": "node --enable-source-maps --disable-warning=ExperimentalWarning --experimental-strip-types test/json/json.mts",
|
|
"test:inspector": "vitest test/inspector --watch=false",
|
|
"test:inspector:watch": "vitest test/inspector",
|
|
"test:inspector:coverage": "vitest test/inspector --coverage",
|
|
"coverage": "c8 --reporter=lcov npm run test",
|
|
"coverage:all": "c8 --reporter=lcov npm run test:all",
|
|
"prepublishOnly": "node --enable-source-maps --disable-warning=ExperimentalWarning --experimental-strip-types scripts/tag_version_with_git_hash.mts",
|
|
"postpublish": "git reset --hard HEAD"
|
|
},
|
|
"bin": {
|
|
"engine262": "lib/node/bin.mjs"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"declaration",
|
|
"declaration-inspector",
|
|
"!declaration/.tsbuildinfo",
|
|
"!lib/node/.tsbuildinfo",
|
|
"!lib/node/tsconfig.json",
|
|
"!lib/inspector/.tsbuildinfo",
|
|
"!lib/inspector/tsconfig.json",
|
|
"lib",
|
|
"src",
|
|
"lib-src"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/engine262/engine262.git"
|
|
},
|
|
"peerDependencies": {
|
|
"ws": "^8.18.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"ws": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/code-frame": "^7.27.1",
|
|
"@babel/core": "^7.28.5",
|
|
"@babel/plugin-proposal-decorators": "^7.28.0",
|
|
"@babel/plugin-transform-explicit-resource-management": "^7.28.0",
|
|
"@babel/preset-env": "^7.28.5",
|
|
"@babel/preset-typescript": "^7.28.5",
|
|
"@engine262/eslint-plugin": "file:test/eslint-plugin-engine262",
|
|
"@pppp606/ink-chart": "^0.2.4",
|
|
"@rollup/plugin-babel": "^6.1.0",
|
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
"@stylistic/eslint-plugin-js": "^3.1.0",
|
|
"@types/babel__code-frame": "^7.0.6",
|
|
"@types/babel__core": "^7.20.5",
|
|
"@types/babel__traverse": "^7.28.0",
|
|
"@types/eslint": "^8.56.12",
|
|
"@types/estree": "^1.0.8",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^22.13.4",
|
|
"@types/react": "^19.2.7",
|
|
"@types/ws": "^8.18.1",
|
|
"@typescript-eslint/eslint-plugin": "^8.51.0",
|
|
"@typescript-eslint/parser": "^8.51.0",
|
|
"@unicode/unicode-16.0.0": "^1.6.16",
|
|
"@vitest/coverage-v8": "^4.0.16",
|
|
"c8": "^10.1.3",
|
|
"cli-highlight": "^2.1.11",
|
|
"cross-env": "^10.1.0",
|
|
"devtools-protocol": "^0.0.1561482",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"http-server": "^14.1.1",
|
|
"ink": "^6.6.0",
|
|
"ink-task-list": "^2.0.0",
|
|
"js-yaml": "^4.1.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"react": "^19.2.3",
|
|
"rollup": "^4.54.0",
|
|
"tinyglobby": "^0.2.15",
|
|
"typescript": "5.8.2",
|
|
"vitest": "^4.0.16",
|
|
"ws": "^8.18.3"
|
|
},
|
|
"overrides": {
|
|
"typescript": "5.8.2"
|
|
}
|
|
}
|