@larvit/log 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -2
  3. package/yarn.lock +1098 -4
package/README.md CHANGED
@@ -58,4 +58,4 @@ const log = new Log({
58
58
 
59
59
  ### Metadata
60
60
 
61
- `log.info("foo", { hey: "luring" });` --> 2022-09-24T23:40:39Z [info] foo {"hey":"luring"}
61
+ `log.info("foo", { hey: "luring" });` --> 2022-09-24T23:40:39Z [info] foo {"hey":"luring"}
package/package.json CHANGED
@@ -1,17 +1,22 @@
1
1
  {
2
2
  "name": "@larvit/log",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "packageManager": "yarn@3.2.3",
7
7
  "scripts": {
8
8
  "build": "rm -f index.js index.d.ts index.js.map && tsc && uglifyjs index.js -o index.js",
9
- "test": "node --loader ts-node/esm test.ts | tap-spec"
9
+ "lint-fix": "eslint --fix index.ts test.ts",
10
+ "lint": "eslint index.ts test.ts",
11
+ "test-unit": "node --loader ts-node/esm test.ts | tap-spec",
12
+ "test": "yarn test-unit && yarn lint"
10
13
  },
11
14
  "devDependencies": {
15
+ "@larvit/eslint-config-typescript-esm": "1.0.0",
12
16
  "@randomgoods/tap-spec": "5.0.2",
13
17
  "@types/node": "18.7.20",
14
18
  "@types/tape": "4.13.2",
19
+ "eslint": "8.24.0",
15
20
  "tape": "5.6.1",
16
21
  "ts-node": "10.9.1",
17
22
  "typescript": "4.8.4",