velocityjs
Advanced tools
Comparing version 2.1.0-beta to 3.0.0-beta
{ | ||
"name": "velocityjs", | ||
"description": "Velocity Template Language(VTL) for JavaScript", | ||
"version": "2.1.0-beta", | ||
"version": "3.0.0-beta", | ||
"license": "MIT", | ||
@@ -17,13 +17,19 @@ "keywords": [ | ||
}, | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.mjs", | ||
"types": "./dist/types/index.d.ts", | ||
"main": "dist/index.js", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/esm/index.js" | ||
"import": "./dist/index.js", | ||
"default": "./dist/index.cjs" | ||
} | ||
}, | ||
"files": ["dist", "History.md", "LICENSE", "README.md", "package.json"], | ||
"files": [ | ||
"dist", | ||
"History.md", | ||
"LICENSE", | ||
"README.md", | ||
"package.json" | ||
], | ||
"devDependencies": { | ||
"@arethetypeswrong/cli": "^0.16.4", | ||
"@types/debug": "^4.1.7", | ||
@@ -41,2 +47,3 @@ "@types/jest": "^29.4.0", | ||
"ts-jest": "^29.0.5", | ||
"tsup": "^8.3.0", | ||
"typescript": "^4.9.5" | ||
@@ -48,5 +55,3 @@ }, | ||
"cp": "cat src/parse/index.js | sed 's/exports./export const /g' > dist/esm/parse/index.js", | ||
"build": "rm -rf dist && npm run build:esm && npm run build:cjs", | ||
"build:esm": "tsc --module es2015 --target es5 --outDir dist/esm --project tsconfig.build.json && npm run cp", | ||
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs --project tsconfig.build.json", | ||
"build": "tsup && npm run cp", | ||
"prepublishOnly": "PACKAGE_VERSION=$(node -p -e \"require('./package.json').version\") npm run tag", | ||
@@ -56,2 +61,3 @@ "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" | ||
@@ -58,0 +64,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
5517
241132
15
9