-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
33 lines (33 loc) · 1.92 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"name": "react-snapshot-context-root",
"version": "0.0.3-0",
"description": "",
"private": true,
"author": "TJ Durnford (https://github.com/tdurnford)",
"license": "MIT",
"scripts": {
"build": "cd packages/react-snapshot-context && npm run build",
"bump": "npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:packages",
"bump:auditfix": "npm audit fix || exit 0",
"bump:dev": "if [ `cat package.json | jq -r '(.devDependencies // {}) | length'` -ne 0 ]; then npm install $(cat package.json | jq -r '(.pinDependencies // {}) as $p | ((.devDependencies // {}) | keys) | map(. + \"@\" + ($p[.] // [\"latest\"])[0]) | .[]'); fi",
"bump:packages": "npm run bump:packages:main && npm run bump:packages:pages",
"bump:packages:main": "cd packages/react-snapshot-context && npm run bump",
"bump:packages:pages": "cd packages/pages && npm run bump",
"bump:prod": "if [ `cat package.json | jq -r '(.dependencies // {}) | length'` -ne 0 ]; then npm install --save-exact $(cat package.json | jq -r '(.pinDependencies // {}) as $p | ((.dependencies // {}) | keys) | map(. + \"@\" + ($p[.] // [\"latest\"])[0]) | .[]'); fi",
"precommit": "npm run precommit:main && npm run precommit:integration",
"precommit:integration": "cd packages/react-snapshot-context && npm run precommit",
"precommit:main": "cd packages/react-snapshot-context && npm run precommit",
"prepare": "cd packages/react-snapshot-context && npm clean-install",
"test": "npm run test:unit && npm run test:integration",
"test:integration": "cd packages/integration-test && npm install && npm test",
"test:unit": "cd packages/react-snapshot-context && npm test"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"prettier": "^2.8.4"
}
}