mirror of
https://github.com/pnpm/pnpm.git
synced 2026-01-26 07:48:42 -05:00
67 lines
2.8 KiB
JSON
67 lines
2.8 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"bump": "changeset version && pnpm install",
|
|
"changeset": "changeset",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"prepare": "pnpm --dir=verdaccio install && pnpm --dir=fixtures run prepareFixtures && husky install",
|
|
"lint": "syncpack list-mismatches && eslint --config=eslint.json **/src/**/*.ts **/test/**/*.ts",
|
|
"test-main": "pnpm compile && pnpm lint -- --quiet && run-p -r verdaccio test-pkgs-main",
|
|
"remove-temp-dir": "shx rm -rf ../pnpm_tmp",
|
|
"test-pkgs-main": "pnpm remove-temp-dir && cross-env PNPM_REGISTRY_MOCK_UPLINK=http://localhost:7348 pnpm --filter=./packages --filter=./privatePackages run --no-sort --workspace-concurrency=2 _test",
|
|
"test-branch": "pnpm compile && pnpm lint -- --quiet && git remote set-branches --add origin main && git fetch && run-p -r verdaccio test-pkgs-branch",
|
|
"test-pkgs-branch": "pnpm remove-temp-dir && cross-env PNPM_REGISTRY_MOCK_UPLINK=http://localhost:7348 pnpm --filter=...[origin/main] run --no-sort _test",
|
|
"verdaccio": "verdaccio --config=./verdaccio.yaml --listen=7348",
|
|
"compile": "pnpm --workspace-concurrency=1 --filter=pnpm --filter=@pnpm/make-dedicated-lockfile --filter=@pnpm/mount-modules run compile && pnpm run update-manifests",
|
|
"watch": "pnpm --filter=@pnpm/fetch run compile && pnpm --filter=pnpm run compile -- --watch",
|
|
"make-lcov": "shx mkdir -p coverage && lcov-result-merger './packages/*/coverage/lcov.info' 'coverage/lcov.info'",
|
|
"update-manifests": "pnpm --filter=@pnpm-private/updater compile && meta-updater ./utils/updater/lib/index.js"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.13.10",
|
|
"@changesets/cli": "^2.14.1",
|
|
"@commitlint/cli": "^12.0.1",
|
|
"@commitlint/config-conventional": "^12.0.1",
|
|
"@commitlint/prompt-cli": "^12.0.1",
|
|
"@pnpm/eslint-config": "workspace:*",
|
|
"@pnpm/meta-updater": "^0.0.0",
|
|
"@pnpm/registry-mock": "^2.4.0",
|
|
"@pnpm/tsconfig": "workspace:*",
|
|
"@types/jest": "^26.0.21",
|
|
"@types/node": "^14.14.33",
|
|
"c8": "^7.7.0",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^7.23.0",
|
|
"husky": "^6.0.0",
|
|
"jest": "27.0.0-next.7",
|
|
"lcov-result-merger": "^3.1.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"publish-packed": "^3.1.1",
|
|
"rimraf": "^3.0.2",
|
|
"shx": "^0.3.3",
|
|
"syncpack": "^5.7.11",
|
|
"ts-jest": "27.0.0-next.10",
|
|
"ts-node": "^9.1.1",
|
|
"typescript": "^4.3.0-beta",
|
|
"verdaccio": "^4.12.0",
|
|
"yarn": "^1.22.10"
|
|
},
|
|
"engines": {
|
|
"pnpm": ">=6"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@nodelib/fs.walk@^1.1.0": "1.1.1",
|
|
"istanbul-reports": "npm:@zkochan/istanbul-reports",
|
|
"http-errors": "^1.7.3",
|
|
"table@^6.0.3": "6.0.4",
|
|
"graceful-fs": "4.2.4",
|
|
"js-yaml@^4.0.0": "npm:@zkochan/js-yaml@0.0.4"
|
|
},
|
|
"neverBuiltDependencies": [
|
|
"core-js",
|
|
"level"
|
|
]
|
|
}
|
|
}
|