-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
21 lines (21 loc) · 896 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"slug": "progressive-web-apps-in-react-with-create-react-app",
"private": true,
"repository": " ",
"workspaces": [
"lessons/*"
],
"scripts": {
"start": "aux() { yarn workspace:log \"$(cd lessons && ls -d *\"$1\"* | head -1)\" start; }; aux",
"build": "aux() { yarn workspace:log \"$(cd lessons && ls -d *\"$1\"* | head -1)\" build; }; aux",
"test": "aux() { yarn workspace:log \"$(cd lessons && ls -d *\"$1\"* | head -1)\" test; }; aux",
"workspace:log": "aux() { echo \"Running $2 in $1.\" && yarn workspace \"$@\"; }; aux",
"clean": "rm -rf packages/*/{dist,.cache}",
"clean:node_modules": "find . -name node_modules | xargs rm -rf",
"format": "prettier **/*.{js,json,vue} -l --write --ignore-path .gitignore || :",
"latest": "yarn upgrade-interactive --latest && yarn upgrade -L"
},
"devDependencies": {
"prettier": "^1.18.2"
}
}