mirror of
https://github.com/PretendoNetwork/miiverse-api.git
synced 2026-07-13 06:50:52 -05:00
Begin move to TS
This commit is contained in:
parent
471a1efb23
commit
c3759db11b
771
package-lock.json
generated
771
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
|
|
@ -1,11 +1,13 @@
|
|||
{
|
||||
"name": "pretendoverse",
|
||||
"version": "1.0.0",
|
||||
"name": "miiverse-api",
|
||||
"version": "2.0.0",
|
||||
"description": "Miiverse API Server",
|
||||
"main": "./src/server.js",
|
||||
"main": "./dist/server.js",
|
||||
"scripts": {
|
||||
"start": "node ./src/server.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"build": "npm run clean && npx tsc && npx tsc-alias",
|
||||
"clean": "rm -rf ./dist",
|
||||
"start": "node .",
|
||||
"start:dev": "NODE_ENV=development node ."
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Jemma",
|
||||
|
|
@ -41,6 +43,8 @@
|
|||
"object-to-xml": "^2.0.0",
|
||||
"request": "^2.88.2",
|
||||
"string-sanitizer": "^1.1.1",
|
||||
"tsc-alias": "^1.8.5",
|
||||
"typescript": "^5.0.4",
|
||||
"xml2json": "^0.12.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
18
tsconfig.json
Normal file
18
tsconfig.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"strict": true,
|
||||
"resolveJsonModule": true,
|
||||
"module": "commonjs",
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"baseUrl": "src",
|
||||
"outDir": "dist",
|
||||
"allowJs": true,
|
||||
"target": "es2022",
|
||||
"noEmitOnError": true,
|
||||
"paths": {
|
||||
"@/*": ["./*"]
|
||||
}
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user