@smooth_zhz/generate_node-core
Version:
A flexible code generation tool with configurable templates and settings
92 lines (91 loc) • 2.45 kB
JSON
{
"name": "@smooth_zhz/generate_node-core",
"version": "1.2.1",
"description": "A flexible code generation tool with configurable templates and settings",
"main": "dist/index.cjs",
"module": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/Zhz4/generate_node.git",
"directory": "packages/core"
},
"bugs": {
"url": "https://github.com/Zhz4/generate_node/issues"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./*": "./*"
},
"bin": {
"generate": "./dist/cli.js"
},
"scripts": {
"start": "node lib/index.js",
"build": "npm run clean && cross-env NODE_ENV=production rollup -c",
"build:dev": "npm run clean && rollup -c",
"test": "vitest",
"dev": "rollup -c -w",
"clean": "rimraf dist",
"prepublishOnly": "npm run build",
"release:patch": "npm version patch && npm publish && git push && git push --tags",
"release:minor": "npm version minor && npm publish && git push && git push --tags",
"release:major": "npm version major && npm publish && git push && git push --tags"
},
"keywords": [
"code-generator",
"template",
"oa",
"automation"
],
"author": "",
"license": "ISC",
"dependencies": {
"chalk": "^5.4.1",
"chokidar": "^4.0.3",
"commander": "^11.1.0",
"dayjs": "^1.11.13",
"ejs": "^3.1.10",
"inquirer": "^12.7.0",
"js-yaml": "^4.1.0",
"rollup-plugin-dts": "^6.2.1",
"rollup-plugin-typescript2": "^0.36.0",
"zod": "^3.25.76"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/node": "^7.25.0",
"@babel/preset-env": "^7.25.4",
"@rollup/plugin-babel": "^6.0.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.0",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^12.1.4",
"@types/ejs": "^3.1.5",
"@types/js-yaml": "^4.0.9",
"cross-env": "^7.0.3",
"rimraf": "^5.0.0",
"rollup": "^4.0.0",
"rollup-plugin-copy": "^3.5.0",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
},
"files": [
"dist/**/*",
"README.md"
],
"engines": {
"node": ">=18.0.0"
}
}