Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit 561eafa

Browse files
committed
Add React & Babel dependencies; update .eslintrc to be nice about es6 syntax
1 parent bcc2650 commit 561eafa

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.eslintrc

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
"node": true,
44
"builtin": true
55
},
6+
"parserOptions": {
7+
"ecmaVersion": 6,
8+
"sourceType": "module",
9+
"ecmaFeatures": {
10+
"jsx": true
11+
}
12+
},
613
"globals": {},
714
"rules": {
815
"block-scoped-var": 0,

package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
"version": "0.1.0",
55
"main": "lib/engine_react.js",
66
"dependencies": {
7+
"babel-core": "^6.17.0",
8+
"babel-plugin-transform-es2015-modules-commonjs": "^6.16.0",
9+
"babel-preset-react": "^6.16.0",
10+
"react": "^15.3.2",
11+
"react-dom": "^15.3.2"
712
},
8-
"devDependencies": {
9-
},
13+
"devDependencies": {},
1014
"keywords": [
1115
"Pattern Lab",
1216
"Atomic Web Design",

0 commit comments

Comments
 (0)