File tree Expand file tree Collapse file tree 2 files changed +7
-21
lines changed Expand file tree Collapse file tree 2 files changed +7
-21
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"presets" : [
3
3
" es2015" ,
4
- " stage-0"
4
+ " stage-0" ,
5
+ " react"
5
6
],
6
7
"plugins" : [
7
8
" add-module-exports"
8
- ],
9
- "env" : {
10
- "development" : {
11
- "plugins" : [
12
- " typecheck" ,
13
- " syntax-flow" ,
14
- " transform-flow-strip-types"
15
- ]
16
- },
17
- "production" : {
18
- "plugins" : [
19
- " syntax-flow" ,
20
- " transform-flow-strip-types"
21
- ]
22
- }
23
- }
9
+ ]
24
10
}
Original file line number Diff line number Diff line change 28
28
"devDependencies" : {
29
29
"babel-cli" : " ^6.10.1" ,
30
30
"babel-plugin-add-module-exports" : " ^0.2.1" ,
31
- "babel-plugin-syntax-flow" : " ^6.8.0" ,
32
- "babel-plugin-transform-flow-strip-types" : " ^6.8.0" ,
33
- "babel-plugin-typecheck" : " ^3.9.0" ,
34
31
"babel-preset-es2015" : " ^6.9.0" ,
32
+ "babel-preset-react" : " ^6.11.1" ,
35
33
"babel-preset-stage-0" : " ^6.5.0" ,
34
+ "babel-register" : " ^6.9.0" ,
36
35
"chai" : " ^3.5.0" ,
37
36
"jsdom" : " ^8.1.0" ,
37
+ "mocha" : " ^2.5.3" ,
38
38
"pragmatist" : " ^3.0.21" ,
39
39
"react" : " ^15.0.0-rc.1" ,
40
40
"react-addons-shallow-compare" : " ^15.0.0-rc.1" ,
44
44
"scripts" : {
45
45
"pragmatist" : " node ./node_modules/.bin/pragmatist --es5" ,
46
46
"lint" : " npm run pragmatist lint" ,
47
- "test" : " npm run pragmatist test --type-annotations " ,
47
+ "test" : " mocha --compilers js:babel-register ./tests/**/*.js " ,
48
48
"build" : " babel ./src --out-dir ./dist" ,
49
49
"watch" : " npm run pragmatist watch" ,
50
50
"watch-lint" : " npm run pragmatist watch-lint" ,
You can’t perform that action at this time.
0 commit comments