File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 113113
114114dist /
115115_book /
116+ lib /
Original file line number Diff line number Diff line change 1+ dist /types
Original file line number Diff line number Diff line change 22 "name" : " alcaeus" ,
33 "version" : " 0.4.2" ,
44 "description" : " Hydra Core hypermedia-aware client library" ,
5- "main" : " dist/alcaeus .js" ,
6- "types" : " types/src/ index.d.ts" ,
5+ "main" : " lib/index .js" ,
6+ "types" : " types/index.d.ts" ,
77 "directories" : {
88 "test" : " tests"
99 },
1010 "files" : [
1111 " dist" ,
12- " types"
12+ " types" ,
13+ " lib" ,
14+ " src"
1315 ],
1416 "scripts" : {
1517 "test" : " yarn lint; yarn run karma start --single-run" ,
16- "build" : " webpack; gitbook install; gitbook build . docs/latest" ,
18+ "build" : " tsc; webpack; gitbook install; gitbook build . docs/latest" ,
1719 "lint" : " tslint -p tsconfig.json" ,
1820 "prepublishOnly" : " rm -rf dist; npm run build"
1921 },
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "outDir" : " ./dist /" ,
4- "target" : " es5 " ,
5- "module" : " commonjs " ,
3+ "outDir" : " ./lib /" ,
4+ "target" : " esnext " ,
5+ "module" : " esnext " ,
66 "moduleResolution" : " node" ,
77 "sourceMap" : true ,
88 "emitDecoratorMetadata" : true ,
1111 "noImplicitAny" : false ,
1212 "suppressImplicitAnyIndexErrors" : false ,
1313 "declaration" : true ,
14- "declarationDir" : " ../ types" ,
14+ "declarationDir" : " types" ,
1515 "lib" : [
1616 " es2017" ,
1717 " es2015" ,
1818 " dom"
1919 ]
2020 },
2121 "include" : [
22- " src/**/*" ,
23- " tests/**/*"
22+ " src/**/*"
2423 ],
2524 "exclude" : [
2625 " node_modules"
You can’t perform that action at this time.
0 commit comments