Socket
Socket
Sign inDemoInstall

@brillout/libassert

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.2 to 0.5.0

tsconfig.cjs.json

29

package.json
{
"name": "@brillout/libassert",
"description": "Assertions for library authors.",
"version": "0.4.2",
"main": "dist/index.js",
"version": "0.5.0",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"exports": {
".": {
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
}
},
"scripts": {
"dev": "npm run tsc:watch",
"build": "npm run tsc:once",
"tsc:watch": "tsc --build --watch",
"tsc:once": "tsc --build",
"clean": "git clean -Xdf",
"prepublishOnly": "npm run clean && npm install && npm run build"
"dev": "npm run tsc:watch:node",
"build": "npm run clean && npm run tsc:esm && npm run tsc:cjs",
"tsc:esm": "tsc --outDir dist/esm/",
"tsc:cjs": "tsc --outDir dist/cjs/ --module CommonJS --target ES2017",
"tsc:watch:esm": "tsc --outDir dist/esm/ --incremental --watch",
"tsc:watch:cjs": "tsc --outDir dist/cjs/ --incremental --watch --module CommonJS --target ES2017",
"clean": "rm -r dist/",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/node": "^14.11.2",
"typescript": "^4.0.3"
"@types/node": "16.10.2",
"typescript": "^4.4.4"
},

@@ -18,0 +27,0 @@ "repository": "github:brillout/libassert",

{
"compilerOptions": {
// Output
"target": "ES2020",
"module": "ES2020",
"moduleResolution": "Node",
"outDir": "dist/esm/",
// User-code
"lib": ["ES2020", "ES2019.Object"],
"rootDir": "./src",
"outDir": "./dist",
"target": "es5",
"module": "commonjs",
"strict": true,
// Source Maps
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"strict": true,
"lib": ["ES2020", "ES2019.Object"]
"declarationMap": true
},
"include": ["./src/**/*"]
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc