| { | |
| "name": "webidl2", | |
| "description": "A WebIDL Parser", | |
| "version": "24.5.0", | |
| "contributors": [ | |
| "Robin Berjon <robin@berjon.com> (https://berjon.com)", | |
| "Marcos Caceres <marcos@marcosc.com> (https://marcosc.com)", | |
| "Kagami Sascha Rosylight <saschaplas@outlook.com>", | |
| "Timothy Gu <timothygu99@gmail.com>" | |
| ], | |
| "engines": { | |
| "node": ">= 18" | |
| }, | |
| "license": "W3C", | |
| "devDependencies": { | |
| "eslint": "^9.31.0", | |
| "eslint-config-prettier": "^10.1.8", | |
| "eslint-plugin-import": "^2.32.0", | |
| "eslint-plugin-prettier": "^5.5.3", | |
| "expect": "^30.0.5", | |
| "jsondiffpatch": "^0.7.3", | |
| "mocha": "^11.7.1", | |
| "prettier": "^3.6.2", | |
| "terser-webpack-plugin": "^5.3.14", | |
| "typescript": "^5.8.3", | |
| "webpack": "^5.100.2", | |
| "webpack-cli": "^6.0.1" | |
| }, | |
| "scripts": { | |
| "eslint": "eslint lib test", | |
| "typecheck": "tsc -p jsconfig.json", | |
| "lint": "npm run eslint && npm run typecheck", | |
| "test": "npm run lint && webpack && mocha", | |
| "acquire": "node test/util/acquire.js", | |
| "build": "npx webpack", | |
| "build-debug": "npx webpack --mode none", | |
| "prepublishOnly": "npm run build" | |
| }, | |
| "repository": "git://github.com/w3c/webidl2.js", | |
| "main": "dist/webidl2.js", | |
| "exports": { | |
| ".": { | |
| "import": "./index.js", | |
| "require": "./dist/webidl2.js" | |
| }, | |
| "./productions": "./lib/productions/index.js" | |
| }, | |
| "type": "module", | |
| "files": [ | |
| "dist/*", | |
| "lib/*", | |
| "index.js" | |
| ] | |
| } |