velocityjs
Advanced tools
Comparing version 3.0.0-beta to 3.0.0-beta1
{ | ||
"name": "velocityjs", | ||
"description": "Velocity Template Language(VTL) for JavaScript", | ||
"version": "3.0.0-beta", | ||
"version": "3.0.0-beta1", | ||
"license": "MIT", | ||
@@ -17,8 +17,9 @@ "keywords": [ | ||
}, | ||
"main": "dist/index.js", | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.mjs", | ||
"types": "./dist/types/index.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": "./dist/index.js", | ||
"default": "./dist/index.cjs" | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/esm/index.js" | ||
} | ||
@@ -47,3 +48,2 @@ }, | ||
"ts-jest": "^29.0.5", | ||
"tsup": "^8.3.0", | ||
"typescript": "^4.9.5" | ||
@@ -55,3 +55,5 @@ }, | ||
"cp": "cat src/parse/index.js | sed 's/exports./export const /g' > dist/esm/parse/index.js", | ||
"build": "tsup && npm run cp", | ||
"build": "rm -rf dist && npm run build:esm && npm run build:cjs", | ||
"build:esm": "tsc --module es2015 --outDir dist/esm --project tsconfig.build.json && npm run cp", | ||
"build:cjs": "tsc --module commonjs --outDir dist/cjs --project tsconfig.build.json", | ||
"prepublishOnly": "PACKAGE_VERSION=$(node -p -e \"require('./package.json').version\") npm run tag", | ||
@@ -61,3 +63,2 @@ "version": "npm run changelog && git add . && git commit -m 'chore: update history.md' && git push origin", | ||
"changelog": "auto-changelog -p -u", | ||
"check-exports": "attw --pack .", | ||
"ci": "npm run lint && jest --coverage --no-cache" | ||
@@ -64,0 +65,0 @@ }, |
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
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
443384
14
74
4847