File tree 2 files changed +35
-2
lines changed
2 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 30
30
"test:cov-codacy" : " cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha test --recursive && cat coverage/lcov.info | codacy-coverage" ,
31
31
"test:rxbuild" : " cross-env BABEL_ENV=commonjs mocha --compilers js:babel-register test/rxbuild.spec.js -r ./test/setup.js" ,
32
32
"test:examples" : " cross-env BABEL_ENV=commonjs babel-node examples/testAll.js" ,
33
- "check:src" : " npm run lint && npm run test && npm run test:rxbuild && npm run test:prod" ,
33
+ "test:typescript" : " tsc --noEmit" ,
34
+ "check:src" : " npm run lint && npm run test && npm run test:rxbuild && npm run test:prod && npm run test:typescript" ,
34
35
"check:examples" : " npm run build:examples && npm run test:examples" ,
35
36
"build:commonjs" : " cross-env BABEL_ENV=commonjs babel src --out-dir build-lib" ,
36
37
"build:es" : " cross-env BABEL_ENV=es babel src --out-dir build-es" ,
80
81
"redux" : " ^3.5.2"
81
82
},
82
83
"devDependencies" : {
84
+ "@types/mocha" : " ^5.2.2" ,
85
+ "@types/node" : " ^10.3.4" ,
83
86
"babel-cli" : " ^6.3.15" ,
84
87
"babel-core" : " ^6.3.15" ,
85
88
"babel-eslint" : " ^7.0.0" ,
121
124
"nyc" : " ^13.0.0" ,
122
125
"redux" : " ^3.5.2" ,
123
126
"rimraf" : " ^2.3.4" ,
127
+ "typescript" : " ~2.8.0" ,
124
128
"webpack" : " ^1.9.6"
125
129
},
126
130
"npmName" : " redux-logic" ,
145
149
],
146
150
"sourceMap" : false ,
147
151
"instrument" : false
148
- }
152
+ },
153
+ "typings" : " definitions/index.d.ts"
149
154
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "module" : " commonjs" ,
4
+ "moduleResolution" : " node" ,
5
+ "esModuleInterop" : true ,
6
+ "noImplicitAny" : false ,
7
+ "noImplicitUseStrict" : false ,
8
+ "noLib" : false ,
9
+ "noResolve" : false ,
10
+ "noUnusedLocals" : false ,
11
+ "noUnusedParameters" : false ,
12
+ "lib" : [
13
+ " dom" ,
14
+ " es2017"
15
+ ],
16
+ "typeRoots" : [
17
+ " node_modules/@types"
18
+ ]
19
+ },
20
+ "include" : [
21
+ " **/*.ts" ,
22
+ " **/*.d.ts"
23
+ ],
24
+ "exclude" : [
25
+ " dist" ,
26
+ " node_modules"
27
+ ]
28
+ }
You can’t perform that action at this time.
0 commit comments