File tree Expand file tree Collapse file tree 5 files changed +4091
-2512
lines changed Expand file tree Collapse file tree 5 files changed +4091
-2512
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"presets" : [
3
- " es2015" ,
4
- " react" ,
5
- " stage-2"
3
+ " @babel/preset-env" ,
4
+ " @babel/preset-react"
5
+ ],
6
+ "plugins" : [
7
+ " @babel/plugin-syntax-dynamic-import" ,
8
+ " @babel/plugin-syntax-import-meta" ,
9
+ " @babel/plugin-proposal-class-properties" ,
10
+ " @babel/plugin-proposal-json-strings" ,
11
+ [
12
+ " @babel/plugin-proposal-decorators" ,
13
+ {
14
+ "legacy" : true
15
+ }
16
+ ],
17
+ " @babel/plugin-proposal-function-sent" ,
18
+ " @babel/plugin-proposal-export-namespace-from" ,
19
+ " @babel/plugin-proposal-numeric-separator" ,
20
+ " @babel/plugin-proposal-throw-expressions"
6
21
]
7
22
}
Original file line number Diff line number Diff line change 1
1
version : 2.1
2
- orbs :
3
-
4
2
jobs :
5
- build-and-test :
6
- executor :
7
- name : node/default
3
+ build :
4
+ docker :
5
+ - image : circleci/node:10
6
+
7
+ working_directory : ~/repo
8
+
8
9
steps :
9
10
- checkout
10
- - node/with-cache :
11
- steps :
12
- - run : npm install
13
- - run : npm test
14
- workflows :
15
- build-and-test :
16
- jobs :
17
- - build-and-test
11
+
12
+ # Download and cache dependencies
13
+ - restore_cache :
14
+ keys :
15
+ - v1-dependencies-{{ checksum "package.json" }}
16
+ # fallback to using the latest cache if no exact match is found
17
+ - v1-dependencies-
18
+
19
+ - run : npm install
20
+
21
+ - run : npm run test
22
+
23
+ # Save the cache for later use
24
+ - save_cache :
25
+ paths :
26
+ - node_modules
27
+ key : v1-dependencies-{{ checksum "package.json" }}
Original file line number Diff line number Diff line change
1
+ {
2
+ "root": true,
3
+ "extends": ["godaddy-react"],
4
+ "rules": {
5
+ "template-curly-spacing": "off",
6
+ "indent": "off",
7
+ "accessor-pairs": "off",
8
+ "react/jsx-pascal-case": "off"
9
+ }
10
+ }
You can’t perform that action at this time.
0 commit comments