npm-init2
Version:
a lazy npm init for create new package, support yarn workspace. make we without use `mkdir xxx && cd xxx && [npm|yarn] init` with `npx npm-init2 xxx`
99 lines (98 loc) • 3.18 kB
JSON
{
"name": "npm-init2",
"version": "3.0.3",
"private": false,
"description": "a lazy npm init for create new package, support yarn workspace. make we without use `mkdir xxx && cd xxx && [npm|yarn] init` with `npx npm-init2 xxx`",
"keywords": [
"cli",
"init",
"npm",
"tool",
"util",
"yarn-tool",
"workspace",
"workspaces",
"yarn"
],
"homepage": "https://github.com/bluelovers/ws-yarn-workspaces/tree/master/packages/npm-init2#readme",
"bugs": {
"url": "https://github.com/bluelovers/ws-yarn-workspaces/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bluelovers/ws-yarn-workspaces.git",
"directory": "packages/npm-init2"
},
"license": "ISC",
"licenses": [],
"author": "bluelovers",
"contributors": [],
"main": "index.js",
"bin": {
"npm-init2": "bin/npm-init2.js"
},
"directories": {
"lib": "lib"
},
"scripts": {
"coverage": "yarn run test -- --coverage",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --passWithNoTests",
"test:jest:coverage": "yarn run test:jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"test:tsd": "ynpx tsd",
"prebuild:lockfile": "npx sync-lockfile .",
"npm:publish": "npm publish",
"preversion": "yarn run test",
"prepublish:lockfile": "npx sync-lockfile .",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly_": "yarn run ncu && yarn run sort-package-json && yarn run test",
"postpublish_": "git commit -m \"chore(release): publish\" . & git push & echo postpublish",
"ncu": "npx yarn-tool ncu -u",
"sort-package-json": "npx yarn-tool sort",
"tsc:showConfig": "ynpx get-current-tsconfig -p"
},
"config": {},
"resolutions": {},
"dependencies": {
"@ts-type/package-dts": "^2.0.8",
"@yarn-tool/find-root": "^2.0.14",
"@yarn-tool/init-path": "^2.0.2",
"@yarn-tool/is-builtin-module": "^1.0.23",
"@yarn-tool/node-modules-link": "^3.0.2",
"@yarn-tool/pkg-entry-util": "^3.0.2",
"@yarn-tool/pkg-git-info": "^2.0.2",
"@yarn-tool/pkg-hosted-info": "^3.0.2",
"@yarn-tool/setup-module-env": "^3.0.2",
"@yarn-tool/static-file": "^3.0.3",
"@yarn-tool/types": "^1.0.16",
"@yarn-tool/update-notifier": "^1.0.40",
"@yarn-tool/workspaces-project": "^3.0.2",
"@yarn-tool/write-package-json": "^1.0.13",
"cross-spawn-extra": "^3.0.3",
"debug-color2": "^1.3.2",
"find-yarn-workspace-root2": "^1.2.50",
"fs-extra": "^11.2.0",
"json5": "^2.2.3",
"lodash": "^4.17.21",
"micromatch": "^4.0.5",
"npm-package-json-loader": "^3.0.2",
"path-is-same": "^1.0.25",
"sort-package-json-scripts": "^1.1.27",
"tslib": ">=2",
"upath2": "^3.1.19",
"validate-npm-package-name": "^5.0.0",
"workspaces-config": "^2.0.2",
"ws-pkg-list": "^3.0.2",
"yargs": "^17.7.2"
},
"devDependencies": {
"@bluelovers/tsconfig": "^1.0.35",
"@types/node": "*"
},
"bundleDependencies": [],
"preferGlobal": true,
"publishConfig": {},
"gitHead": "ab9a6ddd2269cc9eb3167266928b01d42596176d"
}