json-diff-ts 1.2.6 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "json-diff-ts",
3
- "version": "1.2.6",
4
- "description": "A diff tool for JavaScript based on https://www.npmjs.com/package/diff-json written in TypeScript.",
3
+ "version": "2.1.0",
4
+ "description": "A JSON diff tool for JavaScript written in TypeScript.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
7
+ "type": "module",
7
8
  "scripts": {
8
9
  "build": "tsc",
9
- "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
10
- "lint": "tslint -p tsconfig.json",
11
- "test": "jest --config jest.config.json",
12
- "test:watch": "jest --watch --config jest.config.json",
10
+ "format": "prettier --write \"src/**/*.ts\"",
11
+ "lint": "eslint 'src/**/*.ts'",
12
+ "test": "NODE_OPTIONS=--experimental-vm-modules npx jest --config jest.config.mjs",
13
+ "test:watch": "NODE_OPTIONS=--experimental-vm-modules npx jest --watch --config jest.config.mjs",
13
14
  "prepare": "npm run build",
14
15
  "prepublishOnly": "npm test && npm run lint",
15
16
  "preversion": "npm run lint",
@@ -37,16 +38,14 @@
37
38
  },
38
39
  "homepage": "https://github.com/ltwlf/json-diff-ts#readme",
39
40
  "devDependencies": {
40
- "@types/jest": "^29.1.1",
41
- "@types/lodash": "^4.14.149",
42
- "jest": "^24.9.0",
43
- "prettier": "^2.5.1",
44
- "ts-jest": "^24.2.0",
45
- "tslint": "^6.1.3",
46
- "tslint-config-prettier": "^1.18.0",
47
- "typescript": "^4.5.2"
48
- },
49
- "peerDependencies": {
50
- "lodash": "^4.x"
41
+ "@jest/globals": "^29.7.0",
42
+ "@types/jest": "^29.5.7",
43
+ "@types/lodash-es": "^4.17.10",
44
+ "eslint": "^8.53.0",
45
+ "jest": "^29.5.0",
46
+ "lodash-es": "^4.17.21",
47
+ "prettier": "^3.0.3",
48
+ "ts-jest": "^29.0.5",
49
+ "typescript": "^4.9.5"
51
50
  }
52
- }
51
+ }