mirror of
https://github.com/pnpm/pnpm.git
synced 2026-02-02 19:22:52 -05:00
69 lines
2.7 KiB
JSON
69 lines
2.7 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"bump": "changeset version",
|
|
"changeset": "changeset",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"prepare": "pnpm --dir=verdaccio install && pnpm --dir=fixtures run prepareFixtures",
|
|
"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",
|
|
"test-pkgs-main": "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": "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": {
|
|
"@changesets/cli": "^2.12.0",
|
|
"@commitlint/cli": "^11.0.0",
|
|
"@commitlint/config-conventional": "^11.0.0",
|
|
"@commitlint/prompt-cli": "^11.0.0",
|
|
"@pnpm/eslint-config": "workspace:*",
|
|
"@pnpm/meta-updater": "^0.0.0",
|
|
"@pnpm/registry-mock": "^2.2.2",
|
|
"@pnpm/tsconfig": "workspace:*",
|
|
"@types/jest": "^26.0.19",
|
|
"@types/node": "^14.14.22",
|
|
"c8": "^7.3.5",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^7.16.0",
|
|
"husky": "^4.3.6",
|
|
"jest": "^26.6.3",
|
|
"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.6.10",
|
|
"ts-jest": "^26.4.4",
|
|
"ts-node": "^9.1.1",
|
|
"typescript": "^4.1.3",
|
|
"verdaccio": "^4.11.0",
|
|
"yarn": "^1.22.10",
|
|
"yarnhook": "^0.5.1"
|
|
},
|
|
"engines": {
|
|
"pnpm": ">=5 || ^0.0.0-x"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -e",
|
|
"pre-push": "pnpm run lint -- --quiet",
|
|
"post-checkout": "yarnhook",
|
|
"post-merge": "yarnhook",
|
|
"post-rewrite": "yarnhook"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|