Skip to content

Commit d0ec31b

Browse files
committedJun 27, 2020
Using node 10 locally
1 parent 4039e81 commit d0ec31b

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed
 

‎.babelrc.js

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
module.exports = {
2-
extends: './babel.config.cjs.json',
2+
presets: [
3+
[
4+
'@babel/env',
5+
{
6+
modules: 'commonjs',
7+
targets: ['last 2 versions', 'not dead'],
8+
},
9+
],
10+
'@babel/preset-react',
11+
'@babel/preset-typescript',
12+
],
13+
plugins: ['@babel/plugin-proposal-class-properties'],
314
};

‎.github/workflows/push.yml ‎.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: CI
2-
on: push
2+
on: [push, pull_request]
33
jobs:
44
build:
55
name: Test

‎.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v8.16.0
1+
v10.15.1

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"storybook": "start-storybook -p 9001 -s ./src -c .storybook",
3636
"changelog": "auto-changelog --ignore-commit-pattern=\"(Merge pull request|Merge branch|Updating changelog|Prepare for publishing)\"",
3737
"update-codesandbox": "cd codesandbox/default && yarn add react-responsive-carousel@latest",
38-
"format": "prettier '**/*.{js,json}'",
38+
"format": "prettier '**/*.{js,ts,tsx,json}'",
3939
"format:check": "yarn format --check",
4040
"format:write": "yarn format --write",
4141
"test": "yarn format:check && yarn typecheck && yarn jest && yarn jest-ssr",

0 commit comments

Comments
 (0)
Please sign in to comment.