22 "name" : " @twilio-labs/serverless-toolkit" ,
33 "private" : true ,
44 "scripts" : {
5- "bootstrap" : " lerna bootstrap --no-ci " ,
6- "postbootstrap " : " lerna run build" ,
5+ "bootstrap" : " npm run build " ,
6+ "build " : " npm run build --workspaces --if-present " ,
77 "release" : " lerna version --conventional-commits --no-commit-hooks --no-push" ,
88 "npm:publish" : " lerna publish from-git" ,
99 "cm" : " git-cz" ,
1010 "jest" : " jest" ,
11- "build:noemit" : " lerna run build:noemit" ,
12- "clean" : " lerna run clean" ,
11+ "build:noemit" : " npm run build:noemit --workspaces --if-present " ,
12+ "clean" : " npm run clean --workspaces --if-present " ,
1313 "test" : " run-s build:noemit jest" ,
1414 "contrib:add" : " all-contributors add" ,
1515 "contrib:generate" : " all-contributors generate" ,
1616 "lint-staged" : " lint-staged" ,
17- "docs" : " lerna run docs" ,
17+ "docs" : " npm run docs --workspaces --if-present " ,
1818 "prepare" : " husky install" ,
19- "pre-commit" : " lint-staged"
19+ "pre-commit" : " lint-staged" ,
20+ "reset" : " npm exec --workspaces -- npx rimraf node_modules && npx rimraf node_modules"
2021 },
2122 "devDependencies" : {
2223 "@commitlint/cli" : " ^9.1.2" ,
2324 "@commitlint/config-conventional" : " ^10.0.0" ,
24- "@types/jest" : " ^26.0.24 " ,
25+ "@types/jest" : " ^29.2.4 " ,
2526 "all-contributors-cli" : " ^6.1.2" ,
2627 "commitizen" : " ^4.2.4" ,
2728 "conventional-changelog-cli" : " ^2.1.0" ,
2829 "cz-conventional-changelog" : " ^2.1.0" ,
2930 "husky" : " ^7.0.0" ,
30- "jest" : " ^26.6 .3" ,
31+ "jest" : " ^28.1 .3" ,
3132 "jest-express" : " ^1.10.1" ,
3233 "lerna" : " ^4.0.0" ,
3334 "lint-staged" : " ^9.0.0" ,
3435 "npm-run-all" : " ^4.1.5" ,
3536 "prettier" : " ^2.2.1" ,
3637 "rimraf" : " ^3.0.2" ,
37- "ts-jest" : " ^26.5.0" ,
38- "typescript" : " ^3.9.7"
39- },
40- "overrides" : {
41- "@types/prettier" : " 2.6.0" ,
42- "@types/express-serve-static-core" : " ts3.9" ,
43- "@types/lodash" : " ts3.9" ,
44- "@types/babel__traverse" : " ts3.9"
38+ "ts-jest" : " ^28.0.8" ,
39+ "typescript" : " ^4.9.4"
4540 },
4641 "lint-staged" : {
4742 "*.{js,jsx,ts,tsx}" : [
5348 "commitizen" : {
5449 "path" : " ./node_modules/cz-conventional-changelog"
5550 }
56- }
57- }
51+ },
52+ "workspaces" : [
53+ " ./packages/serverless-api" ,
54+ " ./packages/serverless-runtime-types" ,
55+ " ./packages/runtime-handler" ,
56+ " ./packages/twilio-run" ,
57+ " ./packages/*"
58+ ]
59+ }
0 commit comments