UNPKG

2.31 kBJSONView Raw
1{
2 "name": "loglevelnext",
3 "version": "5.0.0",
4 "description": "A modern logging library for Node.js and modern browsers that provides log level mapping to the console",
5 "license": "MPL-2.0",
6 "repository": "shellscape/loglevelnext",
7 "author": "Andrew Powell <andrew@shellscape.org>",
8 "homepage": "https://github.com/shellscape/loglevelnext",
9 "main": "dist/index.js",
10 "engines": {
11 "node": ">= 12.22.1"
12 },
13 "scripts": {
14 "build": "tsc --project tsconfig.json",
15 "ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov",
16 "commitlint": "commitlint",
17 "commitmsg": "commitlint -e $GIT_PARAMS",
18 "lint": "pnpm lint:docs && pnpm lint:json && pnpm lint:package && pnpm lint:js",
19 "lint-staged": "lint-staged",
20 "lint:docs": "prettier --write .github/**/*.md **/README.md",
21 "lint:js": "eslint --fix --cache src test",
22 "lint:json": "prettier --write tsconfig.*.json",
23 "lint:package": "prettier --write **/package.json --plugin=prettier-plugin-package",
24 "security": "pnpm audit --audit-level high",
25 "test": "FORCE_COLOR=3 ava"
26 },
27 "files": [
28 "dist",
29 "README.md"
30 ],
31 "keywords": [
32 "browser",
33 "console",
34 "debug",
35 "error",
36 "level",
37 "levels",
38 "log",
39 "logger",
40 "logging",
41 "loglevel",
42 "persist",
43 "persistent",
44 "plugins",
45 "prefix",
46 "trace",
47 "warn"
48 ],
49 "devDependencies": {
50 "@commitlint/cli": "12.1.4",
51 "@commitlint/config-conventional": "12.1.4",
52 "@types/node": "^15.12.2",
53 "@types/sinon": "^10.0.2",
54 "ava": "^3.15.0",
55 "chalk": "^4.0.0",
56 "eslint-config-shellscape": "^4.0.1",
57 "husky": "^4.3.8",
58 "lint-staged": "11.0.0",
59 "nyc": "^15.0.1",
60 "pre-commit": "^1.2.2",
61 "sinon": "11.1.1",
62 "ts-node": "^10.0.0",
63 "typescript": "^4.3.2"
64 },
65 "types": "types/index.d.ts",
66 "ava": {
67 "extensions": [
68 "ts"
69 ],
70 "require": [
71 "ts-node/register"
72 ],
73 "files": [
74 "test/*.ts"
75 ]
76 },
77 "husky": {
78 "hooks": {
79 "pre-commit": "lint-staged"
80 }
81 },
82 "lint-staged": {
83 "*.{ts,js}": [
84 "eslint --fix"
85 ],
86 "*.{json,md,yml,yaml}": [
87 "prettier --write"
88 ],
89 "*package.json": [
90 "prettier --write --plugin=prettier-plugin-package"
91 ]
92 }
93}