mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 20:53:39 -05:00
b92d1a0251
Fix typescript config in the backend GitOrigin-RevId: fb292968bc14da6d7c17bee1da00803a74901899
24 lines
906 B
JSON
24 lines
906 B
JSON
{
|
|
"name": "@overleaf/settings",
|
|
"description": "A centralised settings system for Overleaf",
|
|
"version": "3.0.0",
|
|
"repository": "overleaf/settings-module",
|
|
"main": "index.js",
|
|
"types": "types/index.d.ts",
|
|
"scripts": {
|
|
"lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
|
|
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
|
|
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
|
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
|
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
|
"test:ci": "npm run test:unit",
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
|
"types:build": "[ -d types ] || tsc --emitDeclarationOnly",
|
|
"types:check": "tsc --noEmit",
|
|
"types:rebuild": "rm -rf types && npm run types:build"
|
|
},
|
|
"devDependencies": {
|
|
"mocha": "^10.2.0",
|
|
"typescript": "^5.0.4"
|
|
}
|
|
}
|