mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
5c517a56c3
Small backend Typescript config fixes GitOrigin-RevId: d600c1f3fa9ef88e9a06aaa5743d454a620c122d
26 lines
974 B
JSON
26 lines
974 B
JSON
{
|
|
"name": "@overleaf/ranges-tracker",
|
|
"description": "Shared logic for syncing comments and tracked changes with operational transforms",
|
|
"main": "index.cjs",
|
|
"files": [
|
|
"index.cjs"
|
|
],
|
|
"author": "Overleaf (https://www.overleaf.com)",
|
|
"private": true,
|
|
"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 --noEmit false --emitDeclarationOnly",
|
|
"types:check": "tsc --noEmit",
|
|
"types:rebuild": "rm -rf types && npm run types:build"
|
|
},
|
|
"devDependencies": {
|
|
"mocha": "^10.2.0",
|
|
"typescript": "^5.0.4"
|
|
}
|
|
}
|