sort-package-json
Advanced tools
Comparing version 2.10.2 to 2.11.0
@@ -9,3 +9,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
interface SortPackageJson { | ||
export interface SortPackageJson { | ||
/** | ||
@@ -12,0 +12,0 @@ * Sort packageJson object. |
{ | ||
"name": "sort-package-json", | ||
"version": "2.10.2", | ||
"version": "2.11.0", | ||
"description": "Sort an Object or package.json based on the well-known package.json keys", | ||
@@ -21,6 +21,18 @@ "keywords": [ | ||
"type": "module", | ||
"exports": "./index.js", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./index.d.ts", | ||
"default": "./index.js" | ||
}, | ||
"require": { | ||
"types": "./index.d.ts", | ||
"default": "./cjs/index.js" | ||
} | ||
} | ||
}, | ||
"types": "index.d.ts", | ||
"bin": "cli.js", | ||
"files": [ | ||
"cjs", | ||
"index.js", | ||
@@ -32,5 +44,7 @@ "index.d.ts", | ||
"scripts": { | ||
"build": "esbuild index.js --bundle --platform=node --alias:git-hooks-list=./git-hooks-list_shim.cjs --outfile=./cjs/index.js && ncp package.cjs.json ./cjs/package.json", | ||
"fix": "eslint . --fix && prettier . \"!**/*.js\" --write && node cli.js \"package.json\"", | ||
"lint": "eslint . && prettier . \"!**/*.js\" --check && node cli.js \"package.json\" --check", | ||
"prepare": "husky install", | ||
"prepublishOnly": "npm run build", | ||
"semantic-release": "semantic-release", | ||
@@ -88,2 +102,3 @@ "test": "ava && dtslint --localTs node_modules/typescript/lib", | ||
"dtslint": "^4.2.1", | ||
"esbuild": "^0.20.2", | ||
"eslint": "^8.24.0", | ||
@@ -99,2 +114,3 @@ "eslint-config-prettier": "^8.5.0", | ||
"make-dir": "^3.1.0", | ||
"ncp": "^2.0.0", | ||
"nyc": "^15.1.0", | ||
@@ -101,0 +117,0 @@ "prettier": "^2.7.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130963
9
3611
24
1