@larvit/log 1.0.1 → 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 +13 -4
  3. package/yarn.lock +1112 -18
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,24 +1,33 @@
1
1
  {
2
2
  "name": "@larvit/log",
3
- "version": "1.0.1",
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
- "typescript": "4.8.3",
18
- "uglify-js": "3.17.1"
22
+ "typescript": "4.8.4",
23
+ "uglify-js": "3.17.2"
19
24
  },
20
25
  "publishConfig": {
21
26
  "access": "public",
22
27
  "registry": "https://registry.npmjs.org/"
28
+ },
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "git+https://github.com/larvit/log.git"
23
32
  }
24
33
  }