Skip to content

Commit 27fd35e

Browse files
committed
chore: update pkg scripts, refresh, sync lock
Signed-off-by: Charlike Mike Reagent <[email protected]>
1 parent fad5d69 commit 27fd35e

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

package.json

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,20 @@
88
],
99
"scripts": {
1010
"bootstrap": "lerna bootstrap --since",
11-
"setup": "yarn refresh && yarn pre-commit",
12-
"setup:ci": "yarn refresh:ci && yarn pre-commit",
13-
"refresh": "yarn && yarn bootstrap",
14-
"refresh:ci": "yarn --frozen-lockfile && yarn bootstrap",
15-
"fresh": "yarn clean:dist && yarn clean:fresh",
16-
"clean:fresh": "lerna clean -y && rm -rf node_modules",
11+
"refresh": "yarn cleanup && yarn setup",
12+
"setup": "yarn && yarn bootstrap",
13+
"setup:ci": "yarn --frozen-lockfile && yarn bootstrap",
14+
"cleanup": "yarn clean:dist && yarn clean:fresh",
1715
"clean:dist": "rm -rf packages/*/dist @tunnckocore/*/dist",
18-
"pre-commit": "yarn jest:all || (yarn resque && yarn jest:all)",
16+
"clean:fresh": "lerna clean -y && rm -rf node_modules",
1917
"jest:all": "jest -c jest/full.js",
2018
"lint": "jest -c jest/lint.js",
2119
"test": "jest -c jest/test.js",
2220
"build": "jest -c jest/build.js",
2321
"bundle": "jest -c jest/bundle.js",
2422
"release": "lerna version && lerna publish from-package",
2523
"cr": "node create-package.js",
26-
"fmt": "prettier '**/*' --write --check",
27-
"resque": "lerna exec 'babel src -d dist/main --presets @tunnckocore --source-maps both' --stream --scope '@tunnckocore/*jest-runner*'"
24+
"fmt": "prettier '**/*' --write --check"
2825
},
2926
"dependencies": {
3027
"@babel/cli": "^7.6.0",
@@ -33,8 +30,6 @@
3330
"@commitlint/config-conventional": "^8.2.0",
3431
"@tunnckocore/babel-preset": "*",
3532
"@tunnckocore/eslint-config": "*",
36-
"@tunnckocore/jest-runner-babel": "*",
37-
"@tunnckocore/jest-runner-eslint": "*",
3833
"@tunnckocore/prettier-config": "*",
3934
"@tunnckocore/typescript-config": "*",
4035
"builtin-modules": "^3.1.0",

0 commit comments

Comments
 (0)