Comparing version 0.3.0 to 0.4.0
{ | ||
"name": "lib-esm", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Lib to ESM snippet.", | ||
"main": "index.js", | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./index.mjs", | ||
"require": "./index.js" | ||
} | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
}, | ||
"./*": "./*" | ||
}, | ||
@@ -16,10 +19,10 @@ "repository": "https://github.com/caoxiemeihao/lib-esm.git", | ||
"scripts": { | ||
"build": "node build.js", | ||
"dev": "vite build --watch", | ||
"build": "vite build", | ||
"test": "node test/index.mjs", | ||
"prepublishOnly": "npm run build" | ||
"types": "tsc", | ||
"prepublishOnly": "npm run test && npm run build" | ||
}, | ||
"files": [ | ||
"index.d.ts", | ||
"index.js", | ||
"index.mjs" | ||
"dist" | ||
], | ||
@@ -30,3 +33,8 @@ "keywords": [ | ||
"esm" | ||
] | ||
], | ||
"devDependencies": { | ||
"@types/node": "^20.1.3", | ||
"typescript": "^5.0.4", | ||
"vite": "^4.3.5" | ||
} | ||
} |
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
7134
169
3
1