File tree 5 files changed +12
-18
lines changed
5 files changed +12
-18
lines changed Original file line number Diff line number Diff line change 10
10
install :
11
11
- yarn global add jq
12
12
- yarn add $(jq -r '.peerDependencies|keys|join(" ")' package.json)
13
- - yarn global add typings
14
- - typings install
15
13
16
14
script :
17
15
- yarn transpile
Original file line number Diff line number Diff line change 14
14
},
15
15
"license" : " MIT" ,
16
16
"main" : " lib/index.js" ,
17
- "typings" : " lib/index.d.ts" ,
18
17
"scripts" : {
19
18
"clean" : " rm -rf lib" ,
20
- "watch" : " npm run clean && tsc -p . --watch" ,
21
- "transpile" : " npm run clean && tsc -p ." ,
19
+ "watch" : " yarn clean && tsc -p . --watch" ,
20
+ "transpile" : " yarn clean && tsc -p ." ,
22
21
"tsc" : " tsc"
23
22
},
24
23
"devDependencies" : {
24
+ "@types/react" : " ^16.0.38" ,
25
25
"typescript" : " ^2.1.4"
26
26
},
27
27
"peerDependencies" : {
Original file line number Diff line number Diff line change 4
4
"module" : " commonjs" ,
5
5
"outDir" : " ./lib" ,
6
6
"declaration" : true ,
7
- "jsx" : " react"
7
+ "jsx" : " react" ,
8
+ "lib" : [" es2015" ]
8
9
},
9
10
"include" : [
10
- " src/**/*" ,
11
- " typings/index.d.ts"
11
+ " src/**/*"
12
12
],
13
13
"exclude" : [
14
14
" node_modules"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
# yarn lockfile v1
3
3
4
4
5
+ " @types/react@^16.0.38 " :
6
+ version "16.0.38"
7
+ resolved "https://registry.yarnpkg.com/@types/react/-/react-16.0.38.tgz#76617433ea10274505f60bb86eddfdd0476ffdc2"
8
+
5
9
typescript@^2.1.4 :
6
- version "2.2.0 "
7
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.2.0. tgz#626f2fc70087d2480f21ebb12c1888288c8614e3 "
10
+ version "2.7.2 "
11
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.2. tgz#2d615a1ef4aee4f574425cdff7026edf81919836 "
You can’t perform that action at this time.
0 commit comments