forked from christophehurpeau/nightingale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.17 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
{
"name": "nightingale-debug",
"version": "15.0.0",
"description": "Nightingale debug",
"keywords": [
"logger"
],
"author": "Christophe Hurpeau <[email protected]> (http://christophe.hurpeau.com/)",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/christophehurpeau/nightingale.git",
"directory": "packages/nightingale-debug"
},
"homepage": "https://github.com/christophehurpeau/nightingale",
"type": "module",
"engines": {
"node": ">=18.12.0"
},
"sideEffects": false,
"main": "./dist/index-node18.mjs",
"types": "./dist/definitions/index.d.ts",
"module": "./dist/index-browser.es.js",
"browser": "./dist/index-browser.es.js",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/definitions/index.d.ts",
"node": {
"import": "./dist/index-node18.mjs"
},
"browser": {
"import": "./dist/index-browser.es.js"
}
}
},
"files": [
"src",
"dist"
],
"scripts": {
"build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
"build:definitions": "tsc -p tsconfig.json",
"clean": "yarn clean:build",
"clean:build": "pob-babel-clean-out dist",
"lint": "yarn run lint:eslint",
"lint:eslint": "yarn ../.. run eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet packages/nightingale-debug",
"test": "yarn ../../ run test -- packages/nightingale-debug",
"watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
},
"browserslist": {
"production": [
"defaults",
"> 0.2%",
"not ie < 12",
"not safari < 10",
"not ios_saf < 10"
]
},
"pob": {
"bundler": "rollup-babel",
"entries": [
"index"
],
"envs": [
{
"target": "node",
"version": "18"
},
{
"target": "browser"
}
]
},
"prettier": "@pob/root/prettier-config",
"dependencies": {
"nightingale-levels": "15.0.0"
},
"devDependencies": {
"@babel/core": "7.24.5",
"@babel/preset-env": "7.24.5",
"pob-babel": "40.0.0",
"typescript": "5.4.5"
}
}