mirror of
https://github.com/cupcakearmy/occulto.git
synced 2024-12-21 17:16:23 +00:00
build pipeline
This commit is contained in:
parent
ef44dab3bc
commit
f933df1908
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "occulto",
|
||||
"version": "2.0.0-rc.2",
|
||||
"version": "2.0.0-rc.3",
|
||||
"description": "crypt utility",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -22,6 +22,7 @@
|
||||
"pnpm": "7"
|
||||
},
|
||||
"type": "module",
|
||||
"types": "./dist/esm/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/esm/index.js",
|
||||
@ -38,7 +39,7 @@
|
||||
"test:browser": "karma start .karma.cjs --single-run",
|
||||
"test": "run-s build test:*",
|
||||
"build:esm": "tsc -p tsconfig.esm.json",
|
||||
"build:cjs": "tsc -p tsconfig.cjs.json",
|
||||
"build:cjs": "tsc -p tsconfig.cjs.json && rename -S .js .cjs dist/cjs/**/*",
|
||||
"build": "run-s clean build:*",
|
||||
"clean": "rm -rf ./dist",
|
||||
"dev": "run-p -ln dev:*",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "CommonJS",
|
||||
"target": "es2015",
|
||||
"target": "ES2015",
|
||||
"outDir": "dist/cjs"
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "ES2015",
|
||||
"target": "es2015",
|
||||
"target": "ES2015",
|
||||
"outDir": "dist/esm"
|
||||
}
|
||||
}
|
||||
|
@ -45,9 +45,9 @@
|
||||
|
||||
/* Emit */
|
||||
"declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
|
||||
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
|
||||
"declarationMap": true /* Create sourcemaps for d.ts files. */,
|
||||
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
||||
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
||||
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
|
||||
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
|
||||
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
|
||||
// "removeComments": true, /* Disable emitting comments. */
|
||||
|
Loading…
Reference in New Issue
Block a user