Skip to content

Commit

Permalink
update per-package prettier & lint commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Mar 5, 2020
1 parent e00b815 commit 3798d88
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 20 deletions.
4 changes: 2 additions & 2 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"test": "cd ../../ && npm run jest packages/app",
"build": "cd ../../ && npm run rollup -- -c packages/app/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/app/{,src/,src/__tests__/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/app/{,src/,src/__tests__/}*.js"
"prettier": "cd ../../ && npm run prettier -- --write packages/app/{,src/,src/*/,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/app/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/jquery-mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"test": "cd ../../ && npm run jest packages/jquery-mobile",
"build": "cd ../../ && npm run rollup -- -c packages/jquery-mobile/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/jquery-mobile/{,src/,src/__tests__/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/jquery-mobile/{,src/,src/__tests__/}*.js"
"prettier": "cd ../../ && npm run prettier -- --write packages/jquery-mobile/{,src/,src/*/,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/jquery-mobile/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 3 additions & 1 deletion packages/leaflet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"module": "dist/index.es.js",
"scripts": {
"test": "cd ../../ && npm run jest packages/leaflet -- --moduleDirectories node_modules/@wq/react/node_modules node_modules",
"build": "cd ../../ && npm run rollup -- -c packages/leaflet/rollup.config.js"
"build": "cd ../../ && npm run rollup -- -c packages/leaflet/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/leaflet/{,src/,src/*/,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/leaflet/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"test": "cd ../../ && npm run jest packages/map/ -- --moduleDirectories node_modules/@wq/react/node_modules node_modules",
"build": "cd ../../ && npm run rollup -- -c packages/map/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/map/{,src/,src/__tests__/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/map/{,src/,src/__tests__/}*.js"
"prettier": "cd ../../ && npm run prettier -- --write packages/map/{,src/,src/*,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/map/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 3 additions & 1 deletion packages/mapbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"module": "dist/index.es.js",
"scripts": {
"test": "cd ../../ && npm run jest packages/mapbox -- --moduleDirectories node_modules node_modules/@wq/react/node_modules",
"build": "cd ../../ && npm run rollup -- -c packages/mapbox/rollup.config.js"
"build": "cd ../../ && npm run rollup -- -c packages/mapbox/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/mapbox/{,src/,src/*/,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/mapbox/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 3 additions & 1 deletion packages/material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"module": "dist/index.es.js",
"scripts": {
"test": "cd ../../ && npm run jest packages/material",
"build": "cd ../../ && npm run rollup -- -c packages/material/rollup.config.js"
"build": "cd ../../ && npm run rollup -- -c packages/material/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/material/{,src/,src/*/,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/material/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"test": "cd ../../ && npm run jest packages/model",
"build": "cd ../../ && npm run rollup -- -c packages/model/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/model/{,src/,src/__tests__/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/model/{,src/,src/__tests__/}*.js"
"prettier": "cd ../../ && npm run prettier -- --write packages/model/{,src/,src/*/,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/model/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/outbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"test": "cd ../../ && npm run jest packages/outbox",
"build": "cd ../../ && npm run rollup -- -c packages/outbox/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/outbox/{,src/,src/__tests__/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/outbox/{,src/,src/__tests__/}*.js"
"prettier": "cd ../../ && npm run prettier -- --write packages/outbox/{,src/,src/*/,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/outbox/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 3 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"module": "dist/index.es.js",
"scripts": {
"test": "cd ../../ && npm run jest packages/react",
"build": "cd ../../ && npm run rollup -- -c packages/react/rollup.config.js"
"build": "cd ../../ && npm run rollup -- -c packages/react/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/react/{,src/,src/*/,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/react/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"test": "cd ../../ && npm run jest packages/router",
"build": "cd ../../ && npm run rollup -- -c packages/router/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/router/{,src/,src/__tests__/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/router/{,src/,src/__tests__/}*.js"
"prettier": "cd ../../ && npm run prettier -- --write packages/router/{,src/,src/*/,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/router/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"test": "cd ../../ && npm run jest packages/store",
"build": "cd ../../ && npm run rollup -- -c packages/store/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/store/{,src/,src/__tests__/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/store/{,src/,src/__tests__/}*.js"
"prettier": "cd ../../ && npm run prettier -- --write packages/store/{,src/,src/*/,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/store/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"test": "cd ../../ && npm run jest packages/template",
"build": "cd ../../ && npm run rollup -- -c packages/template/rollup.config.js",
"prettier": "cd ../../ && npm run prettier -- --write packages/template/{,src/,src/__tests__/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/template/{,src/,src/__tests__/}*.js"
"prettier": "cd ../../ && npm run prettier -- --write packages/template/{,src/,src/*/,src/*/*/}*.js{,on}",
"lint": "cd ../../ && npm run eslint packages/template/{,src/,src/*/,src/*/*/}*.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 3798d88

Please sign in to comment.