Socket
Socket
Sign inDemoInstall

lib-esm

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lib-esm - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

dist/index.d.ts

30

package.json
{
"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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc