rename; build to lib

This commit is contained in:
Trym Lund Flogard 2021-06-02 16:04:02 +02:00
parent a6f0f86670
commit 0141d42d10
3 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"name": "nextcloud-artifacts-action", "name": "nextcloud-artifacts-action",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"main": "index.js", "main": "lib/nextcloud-artifacts.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "npx tsc && npx @vercel/ncc build" "build": "npx tsc && npx @vercel/ncc build"

View File

@ -7,7 +7,7 @@
"skipLibCheck": true, /* Skip type checking of declaration files. */ "skipLibCheck": true, /* Skip type checking of declaration files. */
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */ "forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
"rootDir": "src", "rootDir": "src",
"outDir": "dist", "outDir": "lib",
"sourceMap": true, "sourceMap": true,
"lib": ["es6"] "lib": ["es6"]
} }