Commit 8858e05c authored by Sophia's avatar Sophia

add build script

parent 7963b211
Pipeline #6207 failed with stages
/.idea /.idea
/node_modules /node_modules
/tsconfig.tsbuildinfo
...@@ -2,11 +2,14 @@ ...@@ -2,11 +2,14 @@
"name": "ygoreplay-plugin", "name": "ygoreplay-plugin",
"version": "1.0.0", "version": "1.0.0",
"description": "A plugin for SRVPro-like servers to publish useful statistical data to the storage server automatically", "description": "A plugin for SRVPro-like servers to publish useful statistical data to the storage server automatically",
"main": "index.js", "main": "./dist/index.js",
"repository": "git@git.mycard.moe:mycard/ygoreplay-plugin.git", "repository": "git@git.mycard.moe:mycard/ygoreplay-plugin.git",
"author": "Sophia <beyondthesophia@gmail.com>", "author": "Sophia <beyondthesophia@gmail.com>",
"license": "MIT", "license": "MIT",
"private": true, "private": true,
"scripts": {
"build": "tsc"
},
"devDependencies": { "devDependencies": {
"@types/node": "^16.10.3", "@types/node": "^16.10.3",
"@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/eslint-plugin": "^4.33.0",
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"target": "es2017", "target": "es2017",
"sourceMap": false, "sourceMap": false,
"outDir": "./plugins", "outDir": "./dist",
"baseUrl": "./", "baseUrl": "./",
"incremental": true, "incremental": true,
"tsBuildInfoFile": "./tsconfig.tsbuildinfo", "tsBuildInfoFile": "./tsconfig.tsbuildinfo",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment