mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Add a limit on the number of tags, OError.maxTags (#13)
* Add OError.maxTags * Tidy up package scripts and add a build script Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com> Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
This commit is contained in:
@@ -18,14 +18,15 @@
|
||||
"index.d.ts"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "npm run --silent typecheck && npm run --silent test && npm run --silent declaration:build && npm run --silent update-readme",
|
||||
"declaration:build": "rm -f index.d.ts && tsc --allowJs --declaration --emitDeclarationOnly --moduleResolution node --target ES6 index.js",
|
||||
"declaration:check": "git diff --exit-code -- index.d.ts",
|
||||
"lint": "eslint .",
|
||||
"update-readme": "doc/update-readme.js",
|
||||
"prepublishOnly": "npm run --silent declaration:build && npm run --silent declaration:check",
|
||||
"test": "mocha",
|
||||
"test:coverage": "nyc --reporter=lcov --reporter=text-summary npm run test",
|
||||
"typecheck": "tsc --allowJs --checkJs --noEmit --moduleResolution node --strict --target ES6 *.js test/**/*.js",
|
||||
"declaration:build": "rm -f index.d.ts && tsc --allowJs --declaration --emitDeclarationOnly --moduleResolution node --target ES6 index.js",
|
||||
"declaration:check": "git diff --exit-code -- index.d.ts",
|
||||
"prepublishOnly": "npm run --silent declaration:build && npm run --silent declaration:check"
|
||||
"update-readme": "doc/update-readme.js"
|
||||
},
|
||||
"author": "Overleaf (https://www.overleaf.com)",
|
||||
"license": "MIT",
|
||||
|
||||
Reference in New Issue
Block a user