2023-01-13 07:42:29 -05:00
|
|
|
{
|
|
|
|
"name": "overleaf-editor-core",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "Library shared between the editor server and clients.",
|
|
|
|
"main": "index.js",
|
2024-01-16 14:24:03 -05:00
|
|
|
"types": "types/index.d.ts",
|
2023-01-13 07:42:29 -05:00
|
|
|
"scripts": {
|
2024-01-16 14:24:03 -05:00
|
|
|
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
2024-01-11 08:26:29 -05:00
|
|
|
"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",
|
|
|
|
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
2024-01-23 14:53:37 -05:00
|
|
|
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
2024-01-16 14:24:03 -05:00
|
|
|
"types:check": "tsc --noEmit",
|
|
|
|
"types:rebuild": "rm -rf types && npm run types:build"
|
2023-01-13 07:42:29 -05:00
|
|
|
},
|
|
|
|
"author": "team@overleaf.com",
|
|
|
|
"license": "Proprietary",
|
|
|
|
"private": true,
|
|
|
|
"devDependencies": {
|
|
|
|
"chai": "^3.3.0",
|
2023-01-16 10:55:29 -05:00
|
|
|
"mocha": "^10.2.0",
|
2024-03-01 08:29:54 -05:00
|
|
|
"sinon": "^9.2.4",
|
|
|
|
"typescript": "^5.0.4"
|
2023-01-13 07:42:29 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@overleaf/o-error": "*",
|
|
|
|
"check-types": "^5.1.0",
|
2023-08-22 10:48:24 -04:00
|
|
|
"lodash": "^4.17.19",
|
|
|
|
"p-map": "^4.0.0"
|
2023-01-13 07:42:29 -05:00
|
|
|
}
|
|
|
|
}
|