deat: update package.json

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2019-06-20 18:25:32 +08:00
parent e67fe154de
commit 5d8e818a5c
5 changed files with 56 additions and 35 deletions

View File

@ -1,17 +1,20 @@
{ {
"private": true, "private": true,
"name": "cc-server-parent", "name": "cc-server-parent",
"version": "1.0.0", "version": "1.0.0",
"main": "index.js", "main": "index.js",
"author": "MiaoWoo <admin@yumc.pw>", "author": "MiaoWoo <admin@yumc.pw>",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"lp": "npx lerna publish" "build": "npx lerna run build",
}, "lp": "npx lerna publish",
"workspaces": [ "publish-please": "publish-please",
"packages/*" "prepublishOnly": "publish-please guard"
], },
"devDependencies": { "workspaces": [
"lerna": "^3.14.1" "packages/*"
} ],
"devDependencies": {
"lerna": "^3.14.1"
}
} }

View File

@ -3,32 +3,40 @@
"version": "0.2.5", "version": "0.2.5",
"description": "> TODO: description", "description": "> TODO: description",
"author": "MiaoWoo <admin@yumc.pw>", "author": "MiaoWoo <admin@yumc.pw>",
"homepage": "https://faas.yumc.pw", "homepage": "https://github.com/502647092/cc-server-parent#readme",
"license": "ISC", "license": "ISC",
"main": "dist/index.js", "main": "dist/index.js",
"publishConfig": { "publishConfig": {
"registry": "https://repo.yumc.pw/repository/npm-hosted/" "registry": "https://repo.yumc.pw/repository/npm-hosted/"
}, },
"scripts": { "scripts": {
"dev": "npx ts-node src/index.ts", "dev": "npx ts-node-dev --respawn --prefer-ts --debounce=1500 src/index.ts",
"watch": "npx tsc --watch",
"build": "rimraf dist && npx tsc", "build": "rimraf dist && npx tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"repository": {
"type": "git",
"url": "git+https://github.com/502647092/cc-server-parent.git"
},
"dependencies": { "dependencies": {
"body-parser": "^1.19.0", "body-parser": "^1.19.0",
"cc-server-binding": "^0.2.5",
"cc-server-db-mongo": "^0.2.5", "cc-server-db-mongo": "^0.2.5",
"cc-server-ioc": "^0.2.5", "cc-server-ioc": "^0.2.5",
"inversify": "^5.0.1", "inversify": "^5.0.1",
"inversify-express-utils": "^6.3.2", "inversify-express-utils": "^6.3.2",
"prettyjson": "^1.2.1", "prettyjson": "^1.2.1",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13"
"typescript": "^3.5.1"
}, },
"devDependencies": { "devDependencies": {
"@types/body-parser": "^1.17.0", "@types/body-parser": "^1.17.0",
"@types/express": "^4.17.0", "@types/express": "^4.17.0",
"mocha": "^6.1.4",
"rimraf": "^2.6.3", "rimraf": "^2.6.3",
"ts-node": "^8.2.0" "ts-node": "^8.2.0",
"ts-node-dev": "^1.0.0-pre.40",
"typescript": "^3.5.1"
}, },
"gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728" "gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728"
} }

View File

@ -13,17 +13,22 @@
"build": "rimraf dist && npx tsc", "build": "rimraf dist && npx tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"repository": {
"type": "git",
"url": "git+https://github.com/502647092/cc-server-parent.git"
},
"dependencies": { "dependencies": {
"cc-server-db": "^0.2.5", "cc-server-db": "^0.2.5",
"cc-server-ioc": "^0.2.5", "cc-server-ioc": "^0.2.5",
"inversify": "^5.0.1", "inversify": "^5.0.1",
"mongodb": "^3.2.7", "mongodb": "^3.2.7",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13"
"typescript": "^3.5.1"
}, },
"devDependencies": { "devDependencies": {
"@types/mongodb": "^3.1.28", "@types/mongodb": "^3.1.28",
"rimraf": "^2.6.3" "mocha": "^6.1.4",
"rimraf": "^2.6.3",
"typescript": "^3.5.1"
}, },
"gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728" "gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728"
} }

View File

@ -1,9 +1,9 @@
{ {
"name": "cc-server-db", "name": "cc-server-db",
"version": "0.2.5", "version": "0.2.5",
"description": "Now Im the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin letters to relatives / Embellishin my elegance and eloquence / But the elephant is in the room / The truth is in ya face when ya hear the British cannons go / BOOM", "description": "> TODO: description",
"keywords": [],
"author": "MiaoWoo <admin@yumc.pw>", "author": "MiaoWoo <admin@yumc.pw>",
"homepage": "https://github.com/502647092/cc-server-parent#readme",
"license": "ISC", "license": "ISC",
"main": "dist/index.js", "main": "dist/index.js",
"publishConfig": { "publishConfig": {
@ -20,11 +20,10 @@
"bugs": { "bugs": {
"url": "https://github.com/502647092/cc-server-parent/issues" "url": "https://github.com/502647092/cc-server-parent/issues"
}, },
"homepage": "https://github.com/502647092/cc-server-parent#readme", "devDependencies": {
"dependencies": { "mocha": "^6.1.4",
"rimraf": "^2.6.3",
"typescript": "^3.5.1" "typescript": "^3.5.1"
}, },
"devDependencies": { "dependencies": {}
"rimraf": "^2.6.3" }
}
}

View File

@ -13,14 +13,20 @@
"build": "rimraf dist && npx tsc", "build": "rimraf dist && npx tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"repository": {
"type": "git",
"url": "git+https://github.com/502647092/cc-server-parent.git"
},
"dependencies": { "dependencies": {
"inversify": "^5.0.1", "inversify": "^5.0.1",
"inversify-binding-decorators": "^4.0.0", "inversify-binding-decorators": "^4.0.0",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"typescript": "^3.5.1" "ts-node-dev": "^1.0.0-pre.40"
}, },
"devDependencies": { "devDependencies": {
"rimraf": "^2.6.3" "mocha": "^6.1.4",
"rimraf": "^2.6.3",
"typescript": "^3.5.1"
}, },
"gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728" "gitHead": "7d84393a3cb6be6be9ed51d71f12677d2d7d0728"
} }