-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
121 lines (121 loc) · 3.34 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
{
"name": "@krakenjs/beaver-logger",
"version": "5.8.0",
"description": "Client side logger.",
"main": "dist/beaver-logger.js",
"scripts": {
"setup": "npm install && npm run flow-typed",
"lint": "eslint src/ server/ *.js",
"flow-typed": "rm -rf ./flow-typed && flow-typed install && flow-typed install express@4",
"flow": "flow",
"babel": "babel src/ --out-dir dist/module",
"babel-server": "babel ./server/*.js --ignore=node_modules --out-dir ./server",
"babel-server-test": "babel ./server/*.js --ignore=node_modules --out-dir ./demo/beaver-logger",
"webpack": "babel-node --config-file ./node_modules/@krakenjs/grumbler-scripts/config/.babelrc-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress",
"format": "prettier --write --ignore-unknown .",
"format:check": "prettier --check .",
"vitest": "vitest",
"test": "npm run format:check && npm run lint && npm run flow && npm run vitest -- run --coverage",
"build": "npm run test && npm run babel && npm run webpack",
"clean": "rimraf dist coverage",
"reinstall": "rimraf flow-typed && rimraf node_modules && npm install && flow-typed install",
"prepublishOnly": "npm run babel-server",
"postpublish": "git checkout server",
"prepare": "husky install",
"prerelease": "npm run clean && npm run build && git add dist && git commit -m 'ci: check in dist folder' || echo 'Nothing to distribute'",
"release": "standard-version",
"postrelease": "git push && git push --follow-tags && npm publish"
},
"lint-staged": {
"*": [
"prettier --write --ignore-unknown"
]
},
"standard-version": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"hidden": false
},
{
"type": "docs",
"hidden": false
},
{
"type": "style",
"hidden": false
},
{
"type": "refactor",
"hidden": false
},
{
"type": "perf",
"hidden": false
},
{
"type": "test",
"hidden": false
},
{
"type": "ci",
"hidden": true
}
]
},
"repository": {
"type": "git",
"url": "git://github.com/krakenjs/beaver-logger.git"
},
"keywords": [
"logging",
"logger",
"log",
"krakenjs",
"kraken"
],
"licenses": [
{
"type": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
}
],
"files": [
"server/",
"src/",
"dist/"
],
"readmeFilename": "README.md",
"devDependencies": {
"@bunchtogether/vite-plugin-flow": "^1.0.2",
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@krakenjs/grumbler-scripts": "^8.0.4",
"@vitest/coverage-c8": "^0.29.2",
"@vitest/ui": "^0.29.2",
"cross-env": "^7.0.3",
"flow-bin": "^0.155.0",
"flow-typed": "^4.0.0",
"husky": "^7.0.4",
"jest": "^29.3.1",
"jsdom": "^21.1.1",
"lint-staged": "^12.4.0",
"prettier": "^2.6.2",
"standard-version": "^9.3.2",
"vite": "^4.1.4",
"vitest": "^0.29.2"
},
"dependencies": {
"@krakenjs/belter": "^2.0.0",
"@krakenjs/cross-domain-utils": "^3.0.0",
"@krakenjs/zalgo-promise": "^2.0.0"
}
}