Merge pull request #16632 from overleaf/ae-o-error-package

Fix o-error package.json

GitOrigin-RevId: 730d25a6c3e265021bb4f766f0bbb63dec544a0f
This commit is contained in:
Alf Eaton 2024-01-23 09:24:14 +00:00 committed by Copybot
parent dcaafb54b5
commit 571df2b321
2 changed files with 12 additions and 3 deletions

View file

@ -16,14 +16,13 @@
"types": "types/index.d.cts",
"files": [
"index.cjs",
"index.d.ts"
"types/index.d.cts"
],
"scripts": {
"build": "npm run --silent test && npm run --silent update-readme",
"build": "npm run --silent test",
"lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
"update-readme": "doc/update-readme.js",
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
"test:ci": "npm run test:unit",

10
tsconfig.backend.json Normal file
View file

@ -0,0 +1,10 @@
{
"compilerOptions": {
"allowJs": true,
"esModuleInterop": true,
"moduleResolution": "node",
"noImplicitAny": false,
"skipLibCheck": true,
"strict": true
}
}