ts-ci/package.json
Joseph Garrone 95d413a2ce Fix cdn
2020-05-26 19:19:59 +02:00

42 lines
1.4 KiB
JSON
Executable file

{
"name": "#{REPO_NAME}#",
"version": "0.0.0",
"description": "#{DESC}#",
"repository": {
"type": "git",
"url": "git://github.com/#{USER_OR_ORG}#/#{REPO_NAME}#.git"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"test": "node ./dist/test",
"tsc": "npx tsc",
"cdn:bundle:.js": "simplifyify dist/index.js -s #{REPO_NAME_NO_DASHES}# -o dist/bundle.js --debug --bundle",
"cdn:bundle:.min.js": "terser dist/bundle.js -cmo dist/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",
"homepage": "https://github.com/#{USER_OR_ORG}#/#{REPO_NAME}#",
"files": [
"/dist/*.{d.ts,js,js.map}",
"/dist/tools/",
"/dist/zz_esm/",
"/src/*.ts",
"/src/tools/"
],
"keywords": [],
"devDependencies": {
"typescript": "^3.9.0",
"@types/node": "^10.0.0",
"denoify": "0.2.15",
"evt": "1.7.11",
"simplifyify": "8.0.1",
"terser": "4.6.13"
}
}