cnpmcore
Version:
151 lines (150 loc) • 4.48 kB
JSON
{
"name": "cnpmcore",
"version": "3.61.6",
"description": "npm core",
"files": [
"dist/**/*"
],
"main": "./dist/app.js",
"typings": "./dist/app",
"exports": {
"./common/package.json": "./dist/app/common/package.json",
"./common/*": {
"type": "./dist/app/common",
"node": "./dist/app/common/*.js"
},
"./core/package.json": "./dist/app/core/package.json",
"./core/*": {
"type": "./dist/app/core",
"node": "./dist/app/core/*.js"
},
"./infra/package.json": "./dist/app/infra/package.json",
"./infra/*": {
"type": "./dist/app/infra",
"node": "./dist/app/infra/*.js"
},
"./port/package.json": "./dist/app/port/package.json",
"./port/*": {
"type": "./dist/app/port",
"node": "./dist/app/port/*.js"
},
"./repository/package.json": "./dist/app/repository/package.json",
"./repository/*": {
"type": "./dist/app/repository",
"node": "./dist/app/repository/*.js"
}
},
"scripts": {
"contributor": "git-contributor",
"dev": "egg-bin dev",
"lint": "eslint --cache --ext .ts .",
"lint:fix": "eslint --cache --ext .ts --fix .",
"test": "npm run lint:fix && npm run test-local",
"pretest-local": "bash ./prepare-database.sh",
"test-local": "egg-bin test",
"pret": "bash ./prepare-database.sh",
"t": "npm run lint:fix && egg-bin test --changed",
"precov": "bash ./prepare-database.sh",
"cov": "egg-bin cov",
"ci": "npm run lint && npm run cov && npm run tsc:prod",
"clean": "tsc -b --clean && rm -rf dist",
"tsc": "npm run clean && tsc -p ./tsconfig.json",
"tsc:prod": "npm run clean && tsc -p ./tsconfig.prod.json",
"prepublishOnly": "npm run tsc:prod",
"start": "eggctl start --daemon && touch egg.status",
"start:foreground": "eggctl start",
"stop": "rm -f egg.status && sleep 15 && eggctl stop"
},
"repository": {
"type": "git",
"url": "git@github.com:cnpm/cnpmcore.git"
},
"egg": {
"typescript": true
},
"keywords": [
"npm",
"npm registry",
"registry"
],
"dependencies": {
"@eggjs/tegg": "^3.12.0",
"@eggjs/tegg-aop-plugin": "^3.12.0",
"@eggjs/tegg-config": "^3.12.0",
"@eggjs/tegg-controller-plugin": "^3.12.0",
"@eggjs/tegg-eventbus-plugin": "^3.12.0",
"@eggjs/tegg-orm-plugin": "^3.12.0",
"@eggjs/tegg-plugin": "^3.12.0",
"@eggjs/tegg-schedule-plugin": "^3.12.0",
"@eggjs/tsconfig": "^1.0.0",
"@elastic/elasticsearch": "^8.8.1",
"@fengmk2/tar": "^6.2.0",
"@node-rs/crc32": "^1.2.2",
"@simplewebauthn/server": "^7.0.1",
"@sinclair/typebox": "^0.23.0",
"base-x": "^3.0.9",
"base64url": "^3.0.1",
"bson-objectid": "^2.0.1",
"dayjs": "^1.10.7",
"egg": "^3.9.2",
"egg-cors": "^3.0.0",
"egg-errors": "^2.3.0",
"egg-redis": "^2.4.0",
"egg-scripts": "^3.0.0",
"egg-status": "^1.0.0",
"egg-tracer": "^1.1.0",
"egg-typebox-validate": "^2.0.0",
"egg-view-nunjucks": "^2.3.0",
"eggjs-elasticsearch": "^0.0.6",
"fs-cnpm": "^2.4.0",
"ioredis": "^5.3.1",
"leoric": "^2.12.3",
"lodash": "^4.17.21",
"mime-types": "^2.1.35",
"mysql2": "^3.9.4",
"node-rsa": "^1.1.1",
"npm-package-arg": "^10.1.0",
"oss-cnpm": "^5.0.1",
"p-map": "^4.0.0",
"s3-cnpmcore": "^1.1.2",
"semver": "^7.3.5",
"ssri": "^8.0.1",
"type-fest": "^2.5.3",
"ua-parser-js": "^1.0.34",
"validate-npm-package-name": "^3.0.0"
},
"optionalDependencies": {
"s3-cnpmcore": "^1.1.2"
},
"devDependencies": {
"@cnpmjs/npm-cli-login": "^1.1.0",
"@elastic/elasticsearch-mock": "^2.0.0",
"@simplewebauthn/typescript-types": "^7.0.0",
"@types/lodash": "^4.14.196",
"@types/mime-types": "^2.1.1",
"@types/mocha": "^10.0.1",
"@types/mysql": "^2.15.21",
"@types/node-rsa": "^1.1.4",
"@types/npm-package-arg": "^6.1.1",
"@types/semver": "^7.3.12",
"@types/tar": "^6.1.4",
"@types/ua-parser-js": "^0.7.36",
"@types/validate-npm-package-name": "^4.0.0",
"coffee": "^5.4.0",
"egg-bin": "^6.0.0",
"egg-mock": "^5.10.4",
"eslint": "^8.29.0",
"eslint-config-egg": "^13.0.0",
"git-contributor": "2",
"typescript": "5.2.2"
},
"author": "killagu",
"license": "MIT",
"bugs": {
"url": "https://github.com/cnpm/npmcore/issues"
},
"homepage": "https://github.com/cnpm/npmcore#readme",
"engines": {
"node": ">= 16.13.0"
}
}