diff --git a/libraries/o-error/package.json b/libraries/o-error/package.json index 54ed49af1d..12de3285f0 100644 --- a/libraries/o-error/package.json +++ b/libraries/o-error/package.json @@ -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", diff --git a/tsconfig.backend.json b/tsconfig.backend.json new file mode 100644 index 0000000000..83eb0a9916 --- /dev/null +++ b/tsconfig.backend.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "allowJs": true, + "esModuleInterop": true, + "moduleResolution": "node", + "noImplicitAny": false, + "skipLibCheck": true, + "strict": true + } +}