Skip to content

Commit

Permalink
Using node 10 locally
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrowd committed Jun 27, 2020
1 parent 4039e81 commit d0ec31b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
13 changes: 12 additions & 1 deletion .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
module.exports = {
extends: './babel.config.cjs.json',
presets: [
[
'@babel/env',
{
modules: 'commonjs',
targets: ['last 2 versions', 'not dead'],
},
],
'@babel/preset-react',
'@babel/preset-typescript',
],
plugins: ['@babel/plugin-proposal-class-properties'],
};
2 changes: 1 addition & 1 deletion .github/workflows/push.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CI
on: push
on: [push, pull_request]
jobs:
build:
name: Test
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v8.16.0
v10.15.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"storybook": "start-storybook -p 9001 -s ./src -c .storybook",
"changelog": "auto-changelog --ignore-commit-pattern=\"(Merge pull request|Merge branch|Updating changelog|Prepare for publishing)\"",
"update-codesandbox": "cd codesandbox/default && yarn add react-responsive-carousel@latest",
"format": "prettier '**/*.{js,json}'",
"format": "prettier '**/*.{js,ts,tsx,json}'",
"format:check": "yarn format --check",
"format:write": "yarn format --write",
"test": "yarn format:check && yarn typecheck && yarn jest && yarn jest-ssr",
Expand Down

0 comments on commit d0ec31b

Please sign in to comment.