Comparing version 1.0.38 to 1.0.39
{ | ||
"name": "js-awe", | ||
"version": "1.0.38", | ||
"version": "1.0.39", | ||
"homepage": "https://github.com/josuamanuel/js-awe", | ||
@@ -23,2 +23,8 @@ "author": "josuamanuel@hotmail.com", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": "./dist/mjs/index.js", | ||
"require": "./dist/cjs/index.js" | ||
} | ||
}, | ||
"main": "src/index.js", | ||
@@ -29,3 +35,5 @@ "types": "types/index.d.ts", | ||
"testUT": "export CONFIG_ENV=Testing && export LOG_LEVEL=SILENT && mocha ./test/**/*.js", | ||
"build": "rollup -c" | ||
"buildWeb": "rollup -c", | ||
"buildLib": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup", | ||
"buildTypes": "tsc -p tsconfig-types.json" | ||
}, | ||
@@ -32,0 +40,0 @@ "license": "MIT", |
@@ -259,3 +259,3 @@ # js-awe | ||
tsc -p tsconfig.json | ||
tsc -p tsconfig-types.json | ||
@@ -262,0 +262,0 @@ This will output types in ./genTypes then we will need to copy the new type definitions into ./types/ . This is to keep the documentation that was already manually generated. |
{ | ||
// Change this to match your project | ||
"include": ["src/**/*"], | ||
"extends": "./tsconfig-base.json", | ||
"compilerOptions": { | ||
// Tells TypeScript to read JS files, as | ||
// normally they are ignored as source files | ||
"allowJs": true, | ||
// Generate d.ts files | ||
"declaration": true, | ||
// This compiler run should | ||
// only output d.ts files | ||
"emitDeclarationOnly": true, | ||
// Types should go into this directory. | ||
// Removing this would place the .d.ts files | ||
// next to the .js files | ||
"outDir": "genTypes", | ||
// go to js file when using IDE functions like | ||
// "Go to Definition" in VSCode | ||
"declarationMap": true | ||
"module": "esnext", | ||
"outDir": "dist/mjs", | ||
"target": "esnext" | ||
} | ||
} |
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
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
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
1130209
140
33022
2
5