2014-02-17 09:51:21 -05:00
|
|
|
{
|
2021-05-28 04:15:24 -04:00
|
|
|
"name": "@overleaf/settings",
|
2021-05-26 10:06:24 -04:00
|
|
|
"description": "A centralised settings system for Overleaf",
|
2022-02-07 06:46:51 -05:00
|
|
|
"version": "3.0.0",
|
2021-08-10 12:58:29 -04:00
|
|
|
"repository": "overleaf/settings-module",
|
2024-01-16 14:24:03 -05:00
|
|
|
"main": "index.js",
|
|
|
|
"types": "types/index.d.ts",
|
2021-08-10 12:58:29 -04:00
|
|
|
"scripts": {
|
2024-01-11 08:26:29 -05:00
|
|
|
"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}'",
|
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
|
|
|
"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"
|
2024-01-11 08:26:29 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"mocha": "^10.2.0",
|
|
|
|
"typescript": "^5.0.4"
|
2021-08-10 12:58:29 -04:00
|
|
|
}
|
2014-02-17 09:51:21 -05:00
|
|
|
}
|