mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
update
This commit is contained in:
parent
7ca6a7bc03
commit
f405b1cc58
11 changed files with 195 additions and 85 deletions
21
package.json
21
package.json
|
|
@ -9,17 +9,28 @@
|
|||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"scripts": {
|
||||
"tsc": "npx tsc",
|
||||
"build": "npm run tsc",
|
||||
"test": "node ./dist/test",
|
||||
|
||||
"tsc": "npx tsc",
|
||||
|
||||
"cdn:bundle:.js": "simplifyify dist/index.js -s #{REPO_NAME}# -o dist/umd_bundle.js --debug --bundle",
|
||||
"cdn:bundle:.min.js": "terser dist/umd_bundle.js -cmo dist/umd_bundle.min.js",
|
||||
"cdn:bundle": "npm run cdn:bundle:.js && npm run cdn:bundle:.min.js",
|
||||
"cdn:esm": "tsc -p tsconfig.esm.json",
|
||||
"cdn": "npm run cdn:bundle && npm run cdn:esm",
|
||||
|
||||
"build": "npm run tsc npm run cdn",
|
||||
|
||||
"enable_short_import_path": "npm run build && npx denoify_enable_short_npm_import_path",
|
||||
|
||||
"clean": "rm -rf node_modules dist"
|
||||
},
|
||||
"author": "u/#{USER_OR_ORG}#",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"/dist/*.{d.ts,js,js.map}",
|
||||
"/dist/tools/*.{d.ts,js,js.map}"
|
||||
"/dist/tools/",
|
||||
"/dist/zz_esm/"
|
||||
],
|
||||
"keywords": [],
|
||||
"homepage": "https://github.com/#{USER_OR_ORG}#/#{REPO_NAME}#",
|
||||
|
|
@ -27,6 +38,8 @@
|
|||
"typescript": "^3.9.0",
|
||||
"@types/node": "^10.0.0",
|
||||
"denoify": "github:garronej/denoify",
|
||||
"evt": "^1.6.8"
|
||||
"evt": "^1.6.8",
|
||||
"simplifyify": "^8.0.1",
|
||||
"terser": "^4.6.10"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue