This installs the packages that we need to run the postinstall script, and modifies the options so that the compilation correctly runs. @types/node is installed at the top-level because it is likely to be useful to other areas of the project as well (e.g. the ESLint plugins). Differential Revision: https://phabricator.services.mozilla.com/D303346
21 lines
619 B
JSON
21 lines
619 B
JSON
{
|
|
"devDependencies": {
|
|
"@mdn/browser-compat-data": "7.3.17",
|
|
"@types/webidl2": "24.4.4",
|
|
"@typescript/dom-lib-generator": "github:microsoft/TypeScript-DOM-lib-generator#@types/web@0.0.349",
|
|
"bcd-idl-mapper": "3.0.1",
|
|
"jest": "30.4.2",
|
|
"jsonc-parser": "3.3.1",
|
|
"kdljs": "0.3.0",
|
|
"peggy": "5.1.0",
|
|
"print-diff": "2.0.0"
|
|
},
|
|
"overrides": {
|
|
"globals": "13.24.0"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "npm explore @typescript/dom-lib-generator -- tsc --noEmit false --rootDir ./src --types node",
|
|
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|
|
}
|
|
}
|