-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.54 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
{
"name": "nth-log",
"version": "3.0.1",
"description": "Tiny wrapper around Bunyan that fits my idiosyncracies",
"main": "build-cjs/index.js",
"repository": "git@github.com:NickHeiner/nth-log.git",
"author": "Nick Heiner <nth23@cornell.edu>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@types/bunyan-format": "^0.2.3",
"@types/jest": "29.4.0",
"@types/lodash": "^4.14.161",
"@typescript-eslint/eslint-plugin": "5.50.0",
"@typescript-eslint/parser": "5.50.0",
"babel-jest": "29.4.1",
"eslint": "8.33.0",
"eslint-config-nth": "^2.0.1",
"eslint-plugin-jest": "27.2.1",
"jest": "29.4.1",
"typescript": "^4.9.5"
},
"type": "module",
"exports": {
".": {
"import": "./build-esm/index.js",
"require": "./build-cjs/index.cjs"
}
},
"files": [
"build-cjs",
"build-esm",
"src"
],
"scripts": {
"build": "rm -rf build-cjs build-esm && tsc --project tsconfig-cjs.json && tsc --project tsconfig-esm.json && mv build-cjs/index.js build-cjs/index.cjs && mv build-cjs/index.js.map build-cjs/index.cjs.map",
"prepublishOnly": "yarn build",
"lint": "eslint src/**/*.ts --max-warnings 0",
"lint:fix": "yarn lint --fix",
"unit": "yarn jest src",
"test": "yarn lint && yarn build && yarn unit"
},
"dependencies": {
"@types/bunyan": "^1.8.6",
"bunyan": "^1.8.12",
"bunyan-format": "^0.2.1",
"lodash": "^4.17.20",
"pretty-ms": "^5.1.0"
}
}