Skip to content

Commit

Permalink
chore: Regular dev environment updates (#22)
Browse files Browse the repository at this point in the history
* Dev environment updates

* Upgrade devDependencies
  • Loading branch information
spautz committed Nov 3, 2020
1 parent 99fef5a commit 90d8729
Show file tree
Hide file tree
Showing 7 changed files with 437 additions and 429 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.14.1
14.15.0
28 changes: 16 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
"jsnext:main": "dist/index.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"engines": {
"node": ">=10",
"yarn": "1.*"
},
"scripts": {
"____ LIFECYCLE HOOKS _______________________________________________": "",
"prepare": "yon run build",
Expand All @@ -46,28 +50,28 @@
"prepublishOnly": "yarn run dev:readonly && yarn run build",
"pretest": "yon run test:clean",
"____ INTEGRATION ___________________________________________________": "",
"clean": "yon run build:clean && yon run test:clean && rimraf node_modules/.cache/",
"clean": "yon run build:clean && yon run test:clean && rimraf ./node_modules/.cache/",
"test": "yon run test:nowatch",
"dev": "yon run format && yon run types && yon run lint",
"dev:readonly": "yon run format:verify && yon run types && yon run lint",
"all": "yon run clean && yon run dev && yon run test:nowatch && yon run build",
"all:readonly": "yon run clean && yon run dev:readonly && yon run test:nowatch",
"all:readonly": "yon run dev:readonly && yon run test:nowatch",
"ci": "yon run clean && yon run dev:readonly && yon run test:report",
"____ INDIVIDUAL COMMANDS ___________________________________________": "",
"build": "microbundle build --jsx React.createElement",
"build:clean": "rimraf dist/",
"build:clean": "rimraf ./dist/",
"build:watch": "microbundle watch --jsx React.createElement",
"demo:prepare": "cd demos/todo-list && yarn add redux-to-recoil@next && yarn install && yarn lint && yarn build",
"demo:start": "cd demos/todo-list && yarn start",
"demo:deploy": "gh-pages -d demos/todo-list/build",
"demo:prepare": "cd ./demos/todo-list && yarn add redux-to-recoil@next && yarn install && yarn lint && yarn build",
"demo:start": "cd ./demos/todo-list && yarn start",
"demo:deploy": "gh-pages -d ./demos/todo-list/build",
"format": "prettier --write .",
"format:verify": "prettier --list-different .",
"lint": "eslint .",
"release:changelog": "standard-version --skip.commit --skip.tag --release-as ",
"release:tag": "standard-version --commit-all --sign --skip.changelog --release-as ",
"test:clean": "rimraf coverage/",
"test:clean": "rimraf ./coverage/",
"test:nowatch": "jest --coverage",
"test:report": "jest --coverage && coveralls < coverage/lcov.info",
"test:report": "jest --coverage && coveralls < ./coverage/lcov.info",
"test:watch": "jest --coverage --watch",
"types": "tsc --noEmit --p tsconfig.json"
},
Expand All @@ -78,17 +82,17 @@
"@types/jest": "26.0.15",
"@types/node": "14.14.6",
"@types/react": "16.9.55",
"@types/react-redux": "7.1.9",
"@typescript-eslint/eslint-plugin": "4.6.0",
"@typescript-eslint/parser": "4.6.0",
"@types/react-redux": "7.1.10",
"@typescript-eslint/eslint-plugin": "4.6.1",
"@typescript-eslint/parser": "4.6.1",
"coveralls": "3.1.0",
"eslint": "7.12.1",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-react": "7.21.5",
"gh-pages": "3.1.0",
"husky": "4.3.0",
"jest": "26.6.1",
"jest": "26.6.2",
"lint-staged": "10.5.1",
"microbundle": "0.12.4",
"prettier": "2.1.2",
Expand Down
Empty file modified scripts/build-everything.sh
100644 → 100755
Empty file.
Empty file modified scripts/check-environment.sh
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions scripts/clean-everything.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ source scripts/helpers.sh
# Halt running processes and local servers

if command_exists killall; then
run_command killall node
run_command killall -v node || true
fi

if command_exists xcrun; then
run_command xcrun simctl shutdown all
run_command xcrun simctl shutdown all || true
fi

##################################################################################################
Expand Down
Empty file modified scripts/full-ci.sh
100644 → 100755
Empty file.
Loading

0 comments on commit 90d8729

Please sign in to comment.