UNPKG

nsgm-cli

Version:

A CLI tool to run Next/Style-components and Graphql/Mysql fullstack project

164 lines (163 loc) 5.1 kB
{ "name": "nsgm-cli", "version": "2.1.14", "description": "A CLI tool to run Next/Style-components and Graphql/Mysql fullstack project", "main": "index.js", "scripts": { "help": "node ./lib/index.js", "dev": "npm run tsbuild && node ./lib/index.js dev", "tsbuild": "rimraf lib && tsc --build tsconfig.build.json", "build": "node ./lib/index.js build", "analyze": "cross-env ANALYZE=true npm run build", "tsv": "node ./lib/index.js version", "start": "node ./lib/index.js start", "export": "node ./lib/index.js export", "init": "node ./lib/index.js init", "upgrade": "node ./lib/index.js upgrade", "create": "node ./lib/index.js create", "delete": "node ./lib/index.js delete", "deletedb": "node ./lib/index.js deletedb", "clean": "rimraf .next && rimraf build && rimraf webapp && rimraf lib", "lint": "eslint \"src/**/*.{ts,tsx}\" \"client/**/*.{ts,tsx}\" \"pages/**/*.{ts,tsx}\" --fix", "lint:check": "eslint \"src/**/*.{ts,tsx}\" \"client/**/*.{ts,tsx}\" \"pages/**/*.{ts,tsx}\"", "format": "prettier --write \"src/**/*.{ts,tsx}\" \"client/**/*.{ts,tsx}\" \"pages/**/*.{ts,tsx}\"", "check-deps": "npm outdated", "update-deps": "npm update", "audit-fix": "npm audit fix", "prepublishOnly": "npm run lint:check", "preversion": "npm run lint:check", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags", "release": "npm run clean && npm run lint && npm run format && npm run tsbuild && npm run build", "test": "jest", "test:coverage": "jest --coverage", "test:watch": "jest --watch", "performance": "./scripts/performance-check.sh", "generate-password": "node scripts/generate-password-hash.js" }, "repository": { "type": "git", "url": "git+https://github.com/erishen/nsgm.git" }, "keywords": [ "next", "style-components", "graphql", "mysql", "redux", "react", "hooks", "express" ], "author": { "name": "Erishen Sun", "email": "leisun8309@gmail.com" }, "license": "ISC", "bugs": { "url": "https://github.com/erishen/nsgm/issues" }, "bin": { "nsgm": "lib/index.js" }, "files": [ "generation/*", "client/*", "server/*", "pages/*", "lib/*", "public/*", "scripts/*", "*.config.js", ".babelrc", "next-env.d.ts" ], "homepage": "https://github.com/erishen/nsgm#readme", "dependencies": { "@modelcontextprotocol/sdk": "1.17.0", "@reduxjs/toolkit": "2.8.2", "@types/bcrypt": "6.0.0", "@types/express-session": "1.18.2", "antd": "5.26.6", "axios": "1.11.0", "bcrypt": "6.0.0", "body-parser": "2.2.0", "chalk": "5.5.0", "commander": "14.0.0", "cors": "2.8.5", "critters": "0.0.25", "dayjs": "1.11.13", "dotenv": "17.2.1", "exceljs": "4.4.0", "express": "4.21.2", "express-fileupload": "1.5.2", "express-session": "1.18.2", "file-saver": "2.0.5", "glob": "11.0.3", "graphql": "16.11.0", "graphql-http": "1.22.4", "inquirer": "12.9.0", "lodash": "4.17.21", "lru-cache": "11.1.0", "lusca": "1.7.0", "markdown-it": "14.1.0", "mysql2": "3.14.2", "next": "15.4.4", "ora": "8.2.0", "rc-util": "5.44.4", "react": "18.3.1", "react-dom": "18.3.1", "react-redux": "9.2.0", "redux": "5.0.1", "replace": "1.2.2", "replace-in-file": "8.3.0", "rimraf": "6.0.1", "shelljs": "0.10.0", "styled-components": "6.1.19", "terser-webpack-plugin": "5.3.14", "uglify-js": "3.19.3", "uuid": "11.1.0", "webpack": "5.100.2", "webpack-simple-progress-plugin": "0.0.5" }, "devDependencies": { "@babel/core": "7.28.0", "@babel/plugin-proposal-optional-chaining": "7.21.0", "@eslint/js": "9.31.0", "@testing-library/dom": "10.4.0", "@testing-library/jest-dom": "6.6.3", "@testing-library/react": "16.3.0", "@testing-library/user-event": "14.6.1", "@types/body-parser": "1.19.6", "@types/express": "5.0.3", "@types/express-fileupload": "1.5.1", "@types/graphql": "14.5.0", "@types/inquirer": "9.0.8", "@types/jest": "30.0.0", "@types/lodash": "4.17.20", "@types/lusca": "1.7.5", "@types/mysql": "2.15.27", "@types/next": "9.0.0", "@types/node": "24.1.0", "@types/react": "18.3.23", "@types/react-dom": "18.3.7", "@types/react-redux": "7.1.34", "@types/shelljs": "0.8.17", "@types/styled-components": "5.1.34", "@types/uuid": "10.0.0", "@typescript-eslint/eslint-plugin": "8.38.0", "@typescript-eslint/eslint-plugin-tslint": "7.0.2", "@typescript-eslint/parser": "8.38.0", "babel-plugin-react-html-attrs": "3.0.5", "babel-plugin-styled-components": "2.1.4", "cross-env": "7.0.3", "eslint": "9.31.0", "eslint-config-prettier": "10.1.8", "eslint-plugin-prettier": "5.5.3", "jest": "30.0.5", "jest-environment-jsdom": "30.0.5", "prettier": "3.6.2", "typescript": "5.8.3", "webpack-bundle-analyzer": "4.10.2" } }