File tree 3 files changed +89
-0
lines changed
3 files changed +89
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "presets" : [
3
+ " es2015" ,
4
+ " react"
5
+ ]
6
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " react-redux-player" ,
3
+ "version" : " 1.0.0" ,
4
+ "description" : " " ,
5
+ "main" : " index.js" ,
6
+ "directories" : {
7
+ "test" : " tests"
8
+ },
9
+ "scripts" : {
10
+ "test" : " mocha test/.setup.js test/**/*.js" ,
11
+ "bundle" : " webpack --progress --colors" ,
12
+ "watch" : " webpack --progress --colors --watch"
13
+ },
14
+ "author" :
" Matthew Burrows <[email protected] >" ,
15
+ "license" : " ISC" ,
16
+ "dependencies" : {
17
+ "lodash" : " ^4.13.1" ,
18
+ "react" : " ^15.1.0" ,
19
+ "react-dom" : " ^15.1.0" ,
20
+ "react-redux" : " ^4.4.5" ,
21
+ "redux" : " ^3.5.2"
22
+ },
23
+ "devDependencies" : {
24
+ "babel-core" : " ^6.9.0" ,
25
+ "babel-loader" : " ^6.2.4" ,
26
+ "babel-preset-es2015" : " ^6.9.0" ,
27
+ "babel-preset-react" : " ^6.5.0" ,
28
+ "babel-register" : " ^6.9.0" ,
29
+ "chai" : " ^3.5.0" ,
30
+ "enzyme" : " ^2.0.0" ,
31
+ "eslint" : " ^2.8.0" ,
32
+ "eslint-config-iplayer-es6" : " ^2.0.0" ,
33
+ "eslint-plugin-mocha" : " ^2.2.0" ,
34
+ "eslint-plugin-react" : " ^5.0.1" ,
35
+ "jsdom" : " ^8.0.1" ,
36
+ "mocha" : " ^2.4.5" ,
37
+ "react-addons-test-utils" : " ^15.1.0" ,
38
+ "sinon" : " ^1.17.4" ,
39
+ "webpack" : " ^1.13.1" ,
40
+ "webpack-dev-server" : " ^1.14.1"
41
+ },
42
+ "eslintConfig" : {
43
+ "parser" : " babel-eslint" ,
44
+ "env" : {
45
+ "browser" : true ,
46
+ "node" : true
47
+ },
48
+ "extends" : [
49
+ " plugin:react/recommended" ,
50
+ " iplayer-es6"
51
+ ],
52
+ "rules" : {
53
+ "strict" : 0
54
+ },
55
+ "parserOptions" : {
56
+ "ecmaFeatures" : {
57
+ "jsx" : true ,
58
+ "modules" : true
59
+ }
60
+ },
61
+ "plugins" : [
62
+ " react"
63
+ ]
64
+ },
65
+ "private" : true
66
+ }
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ entry : "./scripts/app.js" ,
3
+ output : {
4
+ path : __dirname ,
5
+ filename : "bundle.js"
6
+ } ,
7
+ module : {
8
+ loaders : [ {
9
+ test : / \. j s $ / ,
10
+ exclude : / ( n o d e _ m o d u l e s ) / ,
11
+ loader : 'babel' ,
12
+ query : {
13
+ presets : [ 'es2015' , 'react' ]
14
+ }
15
+ } ]
16
+ }
17
+ } ;
You can’t perform that action at this time.
0 commit comments