← All changes
|
build/shiki/node_modules/jsonc-parser/package.json
+14
-11
trunk
→
1.13.0
View file →
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "name": "jsonc-parser", |
| 3 | - "version": "3.3.1", | |
| 3 | + "version": "3.2.0", | |
| 4 | 4 | "description": "Scanner and parser for JSON with comments.", |
| 5 | 5 | "main": "./lib/umd/main.js", |
| 6 | 6 | "typings": "./lib/umd/main.d.ts", |
| 7 | 7 | "module": "./lib/esm/main.js", |
| @@ -14,19 +14,20 @@ | ||
| 14 | 14 | "bugs": { |
| 15 | 15 | "url": "https://github.com/microsoft/node-jsonc-parser/issues" |
| 16 | 16 | }, |
| 17 | 17 | "devDependencies": { |
| 18 | - "@types/mocha": "^10.0.7", | |
| 19 | - "@types/node": "^18.x", | |
| 20 | - "@typescript-eslint/eslint-plugin": "^7.13.1", | |
| 21 | - "@typescript-eslint/parser": "^7.13.1", | |
| 22 | - "eslint": "^8.57.0", | |
| 23 | - "mocha": "^10.4.0", | |
| 24 | - "rimraf": "^5.0.7", | |
| 25 | - "typescript": "^5.4.2" | |
| 18 | + "mocha": "^10.0.0", | |
| 19 | + "typescript": "^4.8.2", | |
| 20 | + "@types/node": "^16.x", | |
| 21 | + "@types/mocha": "^9.1.1", | |
| 22 | + "@typescript-eslint/eslint-plugin": "^5.36.0", | |
| 23 | + "@typescript-eslint/parser": "^5.36.0", | |
| 24 | + "eslint": "^8.23.0", | |
| 25 | + "rimraf": "^3.0.2" | |
| 26 | 26 | }, |
| 27 | 27 | "scripts": { |
| 28 | - "prepack": "npm run clean && npm run compile-esm && npm run test && npm run remove-sourcemap-refs", | |
| 28 | + "prepublishOnly": "npm run clean && npm run compile-esm && npm run test && npm run remove-sourcemap-refs", | |
| 29 | + "postpublish": "node ./build/post-publish.js", | |
| 29 | 30 | "compile": "tsc -p ./src && npm run lint", |
| 30 | 31 | "compile-esm": "tsc -p ./src/tsconfig.esm.json", |
| 31 | 32 | "remove-sourcemap-refs": "node ./build/remove-sourcemap-refs.js", |
| 32 | 33 | "clean": "rimraf lib", |
| @@ -31,7 +32,9 @@ | ||
| 31 | 32 | "remove-sourcemap-refs": "node ./build/remove-sourcemap-refs.js", |
| 32 | 33 | "clean": "rimraf lib", |
| 33 | 34 | "watch": "tsc -w -p ./src", |
| 34 | 35 | "test": "npm run compile && mocha ./lib/umd/test", |
| 35 | - "lint": "eslint src/**/*.ts" | |
| 36 | + "lint": "eslint src/**/*.ts", | |
| 37 | + "preversion": "npm test", | |
| 38 | + "postversion": "git push && git push --tags" | |
| 36 | 39 | } |
| 37 | 40 | } |