mirror of
https://github.com/pnpm/pnpm.git
synced 2026-02-04 12:11:29 -05:00
61 lines
2.4 KiB
JSON
61 lines
2.4 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": "eslint --config=eslint.json **/src/**/*.ts **/test/**/*.ts",
|
|
"test-master": "pnpm compile && pnpm lint -- --quiet && run-p -r verdaccio test-pkgs-master",
|
|
"test-pkgs-master": "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 master && git fetch && run-p -r verdaccio test-pkgs-branch",
|
|
"test-pkgs-branch": "cross-env PNPM_REGISTRY_MOCK_UPLINK=http://localhost:7348 pnpm --filter=...[origin/master] run --no-sort _test",
|
|
"verdaccio": "verdaccio --config=./verdaccio.yaml --listen=7348",
|
|
"compile": "pnpm --filter=pnpm --filter=@pnpm/make-dedicated-lockfile run compile && pnpm run update-manifests",
|
|
"watch": "pnpm --filter=@pnpm/fetch run compile && pnpm --filter=pnpm run compile -- --watch",
|
|
"coveralls": "lcov-result-merger './packages/*/coverage/lcov.info' | coveralls",
|
|
"update-manifests": "ts-node utils/updater/src/index.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.11.1",
|
|
"@commitlint/cli": "^11.0.0",
|
|
"@commitlint/config-conventional": "^11.0.0",
|
|
"@commitlint/prompt-cli": "^11.0.0",
|
|
"@pnpm/eslint-config": "workspace:*",
|
|
"@pnpm/registry-mock": "^2.1.0",
|
|
"@pnpm/tsconfig": "workspace:*",
|
|
"@types/jest": "^26.0.14",
|
|
"@types/node": "^12.12.68",
|
|
"@types/tape": "^4.13.0",
|
|
"c8": "^7.3.4",
|
|
"coveralls": "^3.1.0",
|
|
"cross-env": "^7.0.2",
|
|
"eslint": "^7.11.0",
|
|
"husky": "^4.3.0",
|
|
"jest": "^26.5.3",
|
|
"lcov-result-merger": "^3.1.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"publish-packed": "^3.0.2",
|
|
"rimraf": "^3.0.2",
|
|
"tape": "^4.13.3",
|
|
"ts-jest": "^26.4.1",
|
|
"ts-node": "^9.0.0",
|
|
"typescript": "^4.0.3",
|
|
"verdaccio": "^4.8.1",
|
|
"yarn": "^1.22.10",
|
|
"yarnhook": "^0.4.5"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|