-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.56 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"$schema": "https://json.schemastore.org/package",
"name": "@warstekhun/typescript-npm-package-template",
"version": "1.1.1",
"description": "Typescript NPM package template that is ready for NPM and Github Packages publish.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"umd:main": "dist/umd/index.js",
"types": "dist/types/index.d.js",
"browser": "dist/umd/index.js",
"scripts": {
"build": "npm run format:fix && npm run test:cov-build && npm run format:fix && npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
"build:cjs": "rimraf ./dist/cjs && tsc -p config/tsconfig.cjs.json",
"build:esm": "rimraf ./dist/esm && tsc -p config/tsconfig.esm.json",
"build:umd": "rimraf ./dist/umd && webpack --config config/webpack.config.js",
"build:types": "rimraf ./dist/types && tsc -p config/tsconfig.types.json",
"clean": "rimraf ./dist/cjs ./dist/esm ./dist/umd ./dist/types",
"package": "npm run build && npm pack",
"test": "jest --no-cache --runInBand",
"test:cov": "jest --coverage --no-cache --runInBand && start ./coverage/lcov-report/index.html",
"test:cov-build": "jest --coverage --no-cache --runInBand && jest-coverage-badges-ts --output \"./.coverage-badges\"",
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"format:fix": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"release": "rimraf ./*.tgz -g && npm run package && node tools/versionManager.js"
},
"files": [
"dist"
],
"keywords": [
"example",
"typescript",
"npm",
"package",
"sample",
"boilerplate",
"starter",
"template",
"demo",
"cjs",
"esm",
"umd",
"browser"
],
"author": "warstekhun",
"license": "MIT",
"homepage": "https://github.com/WarstekHUN/typescript-npm-package-template",
"repository": {
"type": "git",
"url": "git@github.com:WarstekHUN/typescript-npm-package-template.git"
},
"bugs": {
"url": "https://github.com/WarstekHUN/typescript-npm-package-template/issues"
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.2.0",
"jest-coverage-badges-ts": "^0.1.8",
"prettier": "^2.4.0",
"prompt": "^1.3.0",
"rimraf": "^5.0.1",
"ts-jest": "^27.0.5",
"ts-loader": "^9.2.5",
"typescript": "^4.4.3",
"webpack": "^5.88.2",
"webpack-cli": "^4.8.0"
}
}