mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #18167 from overleaf/em-simpler-typescript-backend
Simpler Typescript setup in the backend GitOrigin-RevId: 3a90f26a5ac8029d14203faa98008375ce933e7d
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
"version": "1.0.2",
|
||||
"description": "Module for storing objects in multiple backends, with fallback on 404 to assist migration between them",
|
||||
"main": "index.js",
|
||||
"types": "types/index.d.ts",
|
||||
"scripts": {
|
||||
"test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
|
||||
"test:unit": "mocha --exit test/**/*.{js,cjs}",
|
||||
@@ -12,9 +11,7 @@
|
||||
"format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
|
||||
"format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
|
||||
"test:ci": "npm run test:unit",
|
||||
"types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
|
||||
"types:check": "tsc --noEmit",
|
||||
"types:rebuild": "rm -rf types && npm run types:build"
|
||||
"types:check": "tsc --noEmit"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.backend.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"outDir": "types"
|
||||
},
|
||||
"include": [
|
||||
"**/*.js",
|
||||
"**/*.cjs"
|
||||
|
||||
Reference in New Issue
Block a user