UNPKG

lemon-core

Version:
132 lines (131 loc) 4.06 kB
{ "name": "lemon-core", "version": "3.2.10", "description": "Lemon Serverless Micro-Service Platform", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "npm run build-ts", "build-ts": "tsc -v && tsc", "watch-ts": "tsc -w", "doc": "npm run doc:html && open dist/docs/index.html", "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out dist/docs", "doc:publish": "npm run doc:html && gh-pages -m \"docs(gh-pages): publish gh-pages via typedoc\" -d dist/docs", "lint": "tsc --noEmit && eslint '*/**/*.{js,ts,jsx,tsx}' --fix", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "!test": "------- run self-test with jest -----", "test": "LS=1 jest --config=jest.config.json", "test.lemon": "ENV=lemon npm run test", "test:dev": "LS=1 jest --config=jest.config.json --watchAll", "!test:watch": "---- custom test with profile -----", "test:watch": "LS=1 jest --config=jest.config.json --watchAll", "test:watch.lemon": "ENV=lemon npm run test:watch", "!prepare": "------- run self-test with jest -----", "prepare": "npm run build", "!prepublishOnly": "npm test && npm run lint && npm run format", "prepublishOnly": "npm test && npm run lint", "!plato": "----- analysis code complexity -----", "plato": "plato -r -d complexity dist" }, "husky": { "hooks": { "!pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*.{js,ts,tsx,jsx}": [ "npm run lint", "git add" ] }, "files": [ "dist/**/*" ], "engines": { "node": ">=18.19.0" }, "author": "Steve Jung <steve@lemoncloud.io>", "license": "MIT", "dependencies": { "@elastic/elasticsearch": "7.12", "@types/aws-lambda": "^8.10.62", "@types/express": "^4.17.11", "@types/express-serve-static-core": "^4.17.19", "@types/ioredis": "^4.28.10", "@types/jsonwebtoken": "^8.5.9", "@types/lodash": "^4.14.185", "async": "^3.2.4", "aws-lambda": "^1.0.6", "aws-sdk": "2.1354", "body-parser": "^1.20.1", "cookie-parser": "^1.4.6", "cors": "^2.8.5", "express": "^4.18.1", "ioredis": "^5.2.3", "js-yaml": "^4.1.0", "jsonwebtoken": "^9.0.0", "lemon-model": "^1.0.2", "lodash": "^4.17.21", "memcached": "^2.2.2", "mime-types": "^2.1.35", "multer": "^1.4.5-lts.1", "node-cache": "^5.1.2", "qs": "^6.13.0", "query-string": "^7.1.3", "request": "^2.88.2", "request-ip": "^3.3.0", "source-map-support": "^0.5.21", "ts-transformer-keys": "^0.4.3", "uuid": "^9.0.1" }, "devDependencies": { "@types/async": "^3.2.15", "@types/cookie-parser": "^1.4.2", "@types/cors": "^2.8.7", "@types/dotenv": "^6.1.1", "@types/jest": "^27.4.1", "@types/js-yaml": "^3.12.5", "@types/memcached": "^2.2.6", "@types/mime-types": "^2.1.0", "@types/multer": "^1.4.7", "@types/request": "^2.48.8", "@types/request-ip": "0.0.34", "@types/supertest": "^2.0.10", "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "^5.15.0", "@typescript-eslint/parser": "^5.15.0", "codecov": "^3.7.2", "concurrently": "^5.3.0", "dotenv": "^8.2.0", "eslint": "^8.23.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "faker": "^4.1.0", "gh-pages": "^5.0.0", "husky": "^8.0.3", "jest": "^27.5.1", "lint-staged": "^13.1.0", "prettier": "^2.7.1", "superagent": "^5.3.1", "supertest": "^4.0.2", "ts-jest": "^27.1.5", "ts-node": "^8.10.2", "ttypescript": "^1.5.15", "typedoc": "^0.23.15", "typescript": "^4.8.3" }, "private": false, "repository": { "type": "git", "url": "git+ssh://git@github.com/lemoncloud-io/lemon-core.git" }, "keywords": [ "lemoncloud", "lemon-core", "serverless" ], "bugs": { "url": "https://github.com/lemoncloud-io/lemon-core/issues" }, "homepage": "https://github.com/lemoncloud-io/lemon-core#readme" }