-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.31 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
{
"name": "@stencila/logga",
"version": "4.0.0",
"description": "Unified logging across related Javascript modules",
"main": "dist/lib/logga.js",
"module": "dist/lib/logga.mjs",
"browser": "dist/browser/logga.mjs",
"unpkg": "dist/browser/logga.umd.js",
"types": "dist/lib/index.d.ts",
"browserslist": [
"> 0.2%",
"not dead"
],
"files": [
"/dist"
],
"scripts": {
"format": "npx prettier --write './**/*.{js,md,ts}'",
"lint": "eslint 'index.ts' --fix",
"test": "jest --runInBand",
"test:cover": "jest --runInBand --collectCoverage",
"test:browser": "jest --env=jsdom",
"build": "npm run build:node && npm run build:browser",
"build:node": "microbundle build --target node --format es,cjs -o dist/lib",
"build:browser": "microbundle build --name logga --format es,umd -o dist/browser",
"bench": "npm run build:node && node benchmark.js 2>/dev/null",
"docs": "typedoc --out docs index.ts && cp *.png docs/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stencila/logga.git"
},
"keywords": [
"logging"
],
"author": "Stencila <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/stencila/logga/issues"
},
"homepage": "https://github.com/stencila/logga#readme",
"devDependencies": {
"@stencila/dev-config": "2.0.27",
"@types/jest": "26.0.24",
"jest": "26.6.3",
"microbundle": "0.15.1",
"ts-jest": "26.5.6",
"typedoc": "0.23.15",
"typescript": "4.8.3"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/index.test.ts"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"scope-case": [
2,
"always",
"sentence-case"
],
"subject-case": [
2,
"always",
"sentence-case"
]
}
},
"eslintConfig": {
"extends": "@stencila/eslint-config"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"prettier": "@stencila/dev-config/prettier-config.json",
"release": {
"extends": "@stencila/semantic-release-config"
},
"renovate": {
"extends": [
"@stencila",
":pinOnlyDevDependencies"
]
}
}