mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-17 21:05:04 -04:00
d227dfba0c
Add type checking to libraries GitOrigin-RevId: bed79f5123081773d6ac6e27698246726184c5e6
32 lines
1 KiB
JSON
32 lines
1 KiB
JSON
{
|
|
"name": "overleaf-editor-core",
|
|
"version": "1.0.0",
|
|
"description": "Library shared between the editor server and clients.",
|
|
"main": "index.js",
|
|
"types": "types/index.js",
|
|
"scripts": {
|
|
"test": "npm run lint && npm run format && npm run typecheck && npm run test:unit",
|
|
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
|
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
|
"lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
|
|
"lint:fix": "eslint --fix --ext .js --ext .cjs .",
|
|
"test:ci": "npm run test:unit",
|
|
"typecheck": "tsc --noEmit",
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
|
"update-types": "rm -rf types && tsc --emitDeclarationOnly"
|
|
},
|
|
"author": "team@overleaf.com",
|
|
"license": "Proprietary",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"chai": "^3.3.0",
|
|
"mocha": "^10.2.0",
|
|
"typescript": "^5.0.4"
|
|
},
|
|
"dependencies": {
|
|
"@overleaf/o-error": "*",
|
|
"check-types": "^5.1.0",
|
|
"lodash": "^4.17.19",
|
|
"p-map": "^4.0.0"
|
|
}
|
|
}
|