File tree Expand file tree Collapse file tree 8 files changed +18
-32
lines changed Expand file tree Collapse file tree 8 files changed +18
-32
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"extends": "airbnb-base",
3
+ "parser": "babel-eslint",
3
4
"env": {
4
5
"mocha": true,
5
6
"node": true
Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- - " 4 "
3
+ - " 6 "
4
4
- " 5"
5
+ - " 4"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
"description" : " Flux Standard Action utlities for Redux" ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
7
- "test" : " make test" ,
8
- "prepublish" : " make clean build"
7
+ "build" : " npm run clean && babel src --out-dir lib --ignore *-test.js" ,
8
+ "clean" : " rimraf lib" ,
9
+ "lint" : " esw src --color" ,
10
+ "lint:watch" : " npm run lint -- --watch" ,
11
+ "prepublish" : " npm run lint && npm run test && npm run build" ,
12
+ "test" : " mocha --compilers js:babel-register src/**/*-test.js" ,
13
+ "test:watch" : " npm run test -- --watch src/**/*-test.js"
9
14
},
10
15
"files" : [
11
- " lib/*.js "
16
+ " lib"
12
17
],
13
18
"keywords" : [
14
19
" flux" ,
29
34
"devDependencies" : {
30
35
"babel-cli" : " ^6.7.7" ,
31
36
"babel-core" : " ^6.7.7" ,
37
+ "babel-eslint" : " ^6.1.1" ,
32
38
"babel-preset-es2015" : " ^6.6.0" ,
33
39
"babel-preset-stage-0" : " ^6.5.0" ,
34
40
"babel-register" : " ^6.7.2" ,
35
41
"chai" : " ^3.0.0" ,
36
42
"eslint" : " ^2.8.0" ,
37
43
"eslint-config-airbnb-base" : " ^1.0.3" ,
38
44
"eslint-plugin-import" : " ^1.5.0" ,
39
- "lodash.isplainobject " : " ^3.2.0 " ,
45
+ "eslint-watch " : " ^2.1.13 " ,
40
46
"flux-standard-action" : " ^0.6.0" ,
41
- "mocha" : " ^2.2.5"
47
+ "mocha" : " ^2.2.5" ,
48
+ "rimraf" : " ^2.5.3"
42
49
},
43
50
"dependencies" : {
44
51
"reduce-reducers" : " ^0.1.0"
Original file line number Diff line number Diff line change
1
+ import { expect } from 'chai' ;
1
2
import { createAction } from '../' ;
2
3
import { isFSA } from 'flux-standard-action' ;
3
4
Original file line number Diff line number Diff line change
1
+ import { expect } from 'chai' ;
1
2
import { handleAction , createAction } from '../' ;
2
3
3
4
describe ( 'handleAction()' , ( ) => {
Original file line number Diff line number Diff line change
1
+ import { expect } from 'chai' ;
1
2
import { handleActions , createAction } from '../' ;
2
3
3
4
describe ( 'handleActions' , ( ) => {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments