1 | {
|
2 | "name": "loglevelnext",
|
3 | "version": "5.0.6",
|
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 | "prepublishOnly": "pnpm build",
|
25 | "security": "pnpm audit --audit-level high",
|
26 | "test": "FORCE_COLOR=3 ava"
|
27 | },
|
28 | "files": [
|
29 | "dist",
|
30 | "README.md"
|
31 | ],
|
32 | "keywords": [
|
33 | "browser",
|
34 | "console",
|
35 | "debug",
|
36 | "error",
|
37 | "level",
|
38 | "levels",
|
39 | "log",
|
40 | "logger",
|
41 | "logging",
|
42 | "loglevel",
|
43 | "persist",
|
44 | "persistent",
|
45 | "plugins",
|
46 | "prefix",
|
47 | "trace",
|
48 | "warn"
|
49 | ],
|
50 | "devDependencies": {
|
51 | "@commitlint/cli": "12.1.4",
|
52 | "@commitlint/config-conventional": "12.1.4",
|
53 | "@types/node": "^15.12.2",
|
54 | "@types/sinon": "^10.0.2",
|
55 | "ava": "^3.15.0",
|
56 | "chalk": "^4.0.0",
|
57 | "eslint-config-shellscape": "^4.0.1",
|
58 | "husky": "^4.3.8",
|
59 | "lint-staged": "11.0.0",
|
60 | "nyc": "^15.0.1",
|
61 | "pre-commit": "^1.2.2",
|
62 | "sinon": "11.1.1",
|
63 | "ts-node": "^10.0.0",
|
64 | "typescript": "^4.3.2"
|
65 | },
|
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 | }
|