UNPKG

8.55 kBJSONView Raw
1{
2 "title": "Caterpillar",
3 "name": "caterpillar",
4 "version": "6.8.0",
5 "description": "Caterpillar is the ultimate logging system for Deno, Node.js, and Web Browsers. Log levels are implemented to the RFC standard. Log entries can be filtered and piped to various streams, including coloured output to the terminal, the browser's console, and debug files. You can even write your own transforms.",
6 "homepage": "https://github.com/bevry/caterpillar",
7 "license": "MIT",
8 "keywords": [
9 "browser",
10 "caterpillar",
11 "console",
12 "debug",
13 "dom",
14 "es2019",
15 "log",
16 "logger",
17 "logging",
18 "module",
19 "node",
20 "stream",
21 "transform",
22 "typed",
23 "types",
24 "typescript"
25 ],
26 "badges": {
27 "list": [
28 "githubworkflow",
29 "npmversion",
30 "npmdownloads",
31 "daviddm",
32 "daviddmdev",
33 "---",
34 "githubsponsors",
35 "patreon",
36 "flattr",
37 "liberapay",
38 "buymeacoffee",
39 "opencollective",
40 "crypto",
41 "paypal",
42 "wishlist"
43 ],
44 "config": {
45 "githubWorkflow": "bevry",
46 "githubSponsorsUsername": "balupton",
47 "buymeacoffeeUsername": "balupton",
48 "cryptoURL": "https://bevry.me/crypto",
49 "flattrUsername": "balupton",
50 "liberapayUsername": "bevry",
51 "opencollectiveUsername": "bevry",
52 "patreonUsername": "bevry",
53 "paypalURL": "https://bevry.me/paypal",
54 "wishlistURL": "https://bevry.me/wishlist",
55 "githubUsername": "bevry",
56 "githubRepository": "caterpillar",
57 "githubSlug": "bevry/caterpillar",
58 "npmPackageName": "caterpillar"
59 }
60 },
61 "funding": "https://bevry.me/fund",
62 "author": "2012+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me), 2011 Benjamin Lupton <b@lupton.cc> (https://balupton.com)",
63 "maintainers": [
64 "Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)"
65 ],
66 "contributors": [
67 "Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)",
68 "Tim Helfensdörfer <tim@visualappeal.de> (https://github.com/thelfensdrfer)",
69 "t-visualappeal (https://github.com/t-visualappeal)"
70 ],
71 "bugs": {
72 "url": "https://github.com/bevry/caterpillar/issues"
73 },
74 "repository": {
75 "type": "git",
76 "url": "https://github.com/bevry/caterpillar.git"
77 },
78 "engines": {
79 "node": ">=10"
80 },
81 "editions": [
82 {
83 "description": "TypeScript source code with Import for modules",
84 "directory": "source",
85 "entry": "index.ts",
86 "tags": [
87 "source",
88 "typescript",
89 "import"
90 ],
91 "engines": false
92 },
93 {
94 "description": "TypeScript compiled against ES2020 for web browsers with Import for modules",
95 "directory": "edition-browsers",
96 "entry": "index.js",
97 "tags": [
98 "compiled",
99 "javascript",
100 "import"
101 ],
102 "engines": {
103 "node": false,
104 "browsers": "defaults"
105 }
106 },
107 {
108 "description": "TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 16 with Require for modules",
109 "directory": "edition-es2019",
110 "entry": "index.js",
111 "tags": [
112 "compiled",
113 "javascript",
114 "es2019",
115 "require"
116 ],
117 "engines": {
118 "node": "10 || 12 || 14 || 16",
119 "browsers": false
120 }
121 },
122 {
123 "description": "TypeScript compiled against ES2019 for Node.js 12 || 14 || 16 with Import for modules",
124 "directory": "edition-es2019-esm",
125 "entry": "index.js",
126 "tags": [
127 "compiled",
128 "javascript",
129 "es2019",
130 "import"
131 ],
132 "engines": {
133 "node": "12 || 14 || 16",
134 "browsers": false
135 }
136 }
137 ],
138 "types": "./compiled-types/",
139 "type": "module",
140 "main": "edition-es2019/index.js",
141 "exports": {
142 "node": {
143 "import": "./edition-es2019-esm/index.js",
144 "require": "./edition-es2019/index.js"
145 },
146 "browser": {
147 "import": "./edition-browsers/index.js"
148 }
149 },
150 "browser": "edition-browsers/index.js",
151 "module": "edition-browsers/index.js",
152 "dependencies": {
153 "@bevry/ansi": "^3.3.0",
154 "get-current-line": "^6.5.0",
155 "rfc-log-levels": "^3.16.0"
156 },
157 "devDependencies": {
158 "@bevry/update-contributors": "^1.19.0",
159 "@typescript-eslint/eslint-plugin": "^4.28.5",
160 "@typescript-eslint/parser": "^4.28.5",
161 "assert-helpers": "^8.4.0",
162 "eslint": "^7.31.0",
163 "eslint-config-bevry": "^3.26.0",
164 "eslint-config-prettier": "^8.3.0",
165 "eslint-plugin-prettier": "^3.4.0",
166 "kava": "^5.14.0",
167 "make-deno-edition": "^1.3.0",
168 "prettier": "^2.3.2",
169 "projectz": "^2.21.0",
170 "surge": "^0.23.0",
171 "typedoc": "^0.21.4",
172 "typescript": "4.3.5",
173 "valid-directory": "^3.7.0",
174 "valid-module": "^1.16.0"
175 },
176 "scripts": {
177 "our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
178 "our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:types",
179 "our:compile:deno": "make-deno-edition --attempt",
180 "our:compile:edition-browsers": "tsc --module ESNext --target ES2020 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) )",
181 "our:compile:edition-es2019": "tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -Rf edition-es2019 && mv edition-temp edition-es2019 ) ) && echo '{\"type\": \"commonjs\"}' > edition-es2019/package.json",
182 "our:compile:edition-es2019-esm": "tsc --module ESNext --target ES2019 --outDir ./edition-es2019-esm --project tsconfig.json && ( test ! -d edition-es2019-esm/source || ( mv edition-es2019-esm/source edition-temp && rm -Rf edition-es2019-esm && mv edition-temp edition-es2019-esm ) ) && echo '{\"type\": \"module\"}' > edition-es2019-esm/package.json",
183 "our:compile:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )",
184 "our:deploy": "echo no need for this project",
185 "our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz",
186 "our:meta:contributors": "update-contributors",
187 "our:meta:docs": "npm run our:meta:docs:typedoc",
188 "our:meta:docs:typedoc": "rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source",
189 "our:meta:projectz": "projectz compile",
190 "our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",
191 "our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)",
192 "our:release:check-dirty": "git diff --exit-code",
193 "our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
194 "our:release:push": "git push origin && git push origin --tags",
195 "our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"",
196 "our:setup": "npm run our:setup:install",
197 "our:setup:install": "npm install",
198 "our:test": "npm run our:verify && npm test",
199 "our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier",
200 "our:verify:directory": "valid-directory",
201 "our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
202 "our:verify:module": "valid-module",
203 "our:verify:prettier": "prettier --write .",
204 "test": "node ./edition-es2019/test.js"
205 },
206 "eslintConfig": {
207 "extends": [
208 "bevry"
209 ],
210 "rules": {
211 "class-methods-use-this": "off"
212 }
213 },
214 "prettier": {
215 "semi": false,
216 "singleQuote": true
217 },
218 "boundation": {
219 "dom": true
220 }
221}
\No newline at end of file