File tree Expand file tree Collapse file tree 5 files changed +12
-0
lines changed Expand file tree Collapse file tree 5 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -59,3 +59,6 @@ typings/
5959
6060# next.js build output
6161.next
62+
63+ lib
64+ types
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ install:
1111
1212script :
1313 - npm run lint
14+ - npm run build
1415
1516after_success :
1617 - npx semantic-release
Original file line number Diff line number Diff line change 44 "description" : " Convert HTML DOM to React elements" ,
55 "main" : " ./lib/index.js" ,
66 "scripts" : {
7+ "build" : " npm run clean && tsc --project ." ,
8+ "clean" : " rimraf lib/ types/ yarn-error.log npm-debug.log" ,
79 "commitmsg" : " commitlint -E GIT_PARAMS" ,
810 "lint" : " tslint --project ." ,
911 "lint:fix" : " tslint --fix --project ."
1820 "url" : " https://github.com/thomasthiebaud/htmldom-to-react/issues"
1921 },
2022 "homepage" : " https://github.com/thomasthiebaud/htmldom-to-react#readme" ,
23+ "files" : [
24+ " lib" ,
25+ " types"
26+ ],
2127 "devDependencies" : {
2228 "@semantic-release/changelog" : " 2.1.1" ,
2329 "@semantic-release/git" : " 6.0.1" ,
2430 "commitlint" : " 7.0.0" ,
2531 "conventional-changelog-eslint" : " 3.0.0" ,
2632 "husky" : " 0.14.3" ,
33+ "rimraf" : " 2.6.2" ,
2734 "semantic-release" : " 15.6.3" ,
2835 "tslint" : " 5.10.0" ,
2936 "tslint-react" : " 3.6.0" ,
Original file line number Diff line number Diff line change 1010 "outDir" : " lib" ,
1111 "sourceMap" : true ,
1212 "target" : " es6" ,
13+ "declarationDir" : " types"
1314 },
1415 "include" : [
1516 " ./src/**/*"
You can’t perform that action at this time.
0 commit comments