-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
132 lines (132 loc) · 4.82 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "@saninn/logger",
"version": "1.2.0",
"description": "A configurable wrapper around the console object (without losing the console call position)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"watch": {
"transpile-dev": {
"patterns": [
"src"
],
"extensions": "ts",
"delay": 1000,
"runOnChangeOnly": true
}
},
"scripts": {
"test": "jest",
"test:watch:coverage:silent": "jest --watch --coverage --silent --no-cache",
"test:ci": "jest --silent --runInBand --no-cache --watch false --coverage true",
"test:codecov": "codecov",
"tsc:check": "tsc --noEmit",
"prettier:check": "prettier --config ./.prettierrc ./src --check",
"make-docs": "typedoc --out ./docs ./src/@saninn__logger.ts --hideGenerator",
"saninn": "run-p watch live-server",
"watch": "run-s clean:module && npm run transpile-dev && npm-watch",
"prepare": "npm run build",
"serve": "live-server --watch=dist/,dev/ --open=dev/index-es6.html --wait=500",
"transpile-dev": "tsc && npm run fix-es2015-modules",
"buildAll": "npm run build && npm run build-bundles",
"build": "shx rm -rf ./dist/ && tsc --sourceMap false && run-s fix-es2015-modules",
"build-bundles": "run-p build:*",
"build:module": "run-s clean:module && tsc --sourceMap false --outDir ./dist-bundles/es6 && node ./scripts/fix-es2015-modules.js ./dist-bundles/es6",
"build:commonjs": "run-s clean:commonjs && tsc --sourceMap false -m commonjs --outDir ./dist-bundles/commonjs",
"build:iife": "npm run clean:iife && rollup -c && run-s fix-iife-export prepend-iife-polyfills",
"clean:module": "shx rm -rf ./dist-bundles/es6",
"clean:commonjs": "shx rm -rf ./dist-bundles/commonjs",
"clean:iife": "shx rm -rf ./dist-bundles/iife",
"fix-es2015-modules": "node ./scripts/fix-es2015-modules.js",
"fix-iife-export": "node ./scripts/fix-iife-export.js",
"prepend-iife-polyfills": "node ./scripts/prepend-iife-polyfills.js",
"bump:beta": "beta",
"release": "release-it --verbose --ci",
"release:patch": "release-it patch --verbose --ci",
"release:minor": "release-it minor --verbose --ci",
"release:major": "release-it major --verbose --ci",
"release:prepatch": "release-it prepatch --verbose --ci",
"release:preminor": "release-it preminor --verbose --ci",
"release:premajor": "release-it premajor --verbose --ci",
"zip-bundles": "run-s zip:*",
"zip:module": "cd dist-bundles/es6 && bestzip ../es6.zip * && cd .. && cd ..",
"zip:commonjs": "cd dist-bundles/commonjs && bestzip ../commonjs.zip * && cd .. && cd ..",
"zip:iife": "cd dist-bundles/iife && bestzip ../iife.zip * && cd .. && cd .."
},
"repository": {
"type": "git",
"url": "git+https://github.com/distante/saninn-logger.git"
},
"bugs": {
"url": "https://github.com/distante/saninn-logger/issues"
},
"keywords": [
"console",
"wrapper",
"logger"
],
"author": "Saninn Salas Diaz",
"license": "MIT",
"homepage": "https://saninnsalas.com",
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release-it": {
"hooks": {
"before:init": "node ./scripts/release_1_before-start.js",
"after:bump": "node ./scripts/release_3_after-Bump.js ${version}",
"after:release": "echo Successfully released ${name} v${version} to https://${repo.host}/${repo.repository}/releases/tag/v${version}"
},
"git": {
"commitMessage": "release: v${version}",
"tagName": "v${version}",
"tagAnnotation": "Release v${version}"
},
"github": {
"release": true,
"releaseName": "${version}",
"assets": [
"dist-bundles/*.zip"
]
}
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@compodoc/live-server": "^1.2.3",
"@testing-library/jest-dom": "^5.16.3",
"@types/jest": "^27.4.1",
"bestzip": "^2.2.1",
"filehound": "^1.17.4",
"husky": "^4.3.4",
"jest": "^27.5.1",
"jest-extended": "^2.0.0",
"jest-html-reporter": "^3.4.2",
"node-notifier": "^10.0.1",
"npm-run-all": "^4.1.5",
"npm-watch": "^0.11.0",
"object.keys": "^0.1.0",
"prettier": "2.2.1",
"pretty-quick": "^3.1.0",
"proxy-polyfill": "^0.3.2",
"release-it": "^14.13.1",
"rollup": "^2.70.1",
"rollup-plugin-typescript": "^1.0.1",
"shx": "^0.3.3",
"ts-jest": "^27.1.4",
"tslib": "^2.2.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typedoc": "^0.25.12",
"typescript": "^4.2.4",
"uglify-js": "^3.15.3"
}
}