Skip to content

Commit

Permalink
misc: build lib when running link:lib script
Browse files Browse the repository at this point in the history
- remove unused paths in tsconfig.json
  • Loading branch information
shanmukhateja committed Apr 13, 2024
1 parent 0d73e8c commit 35c9f8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"scripts": {
"start": "npm run link:lib && ng serve",
"build:lib": "npm run clean && ng build angular-datatables --configuration=production && npm run lib:schematics:build",
"clean": "rimraf -f lib/**/index.{d.ts,js,js.map,metadata.json} demo/**/*.{d.ts,js,map,metadata.json} bundles schematics/**/*.{d.ts,js,map}",
"link:lib": "rimraf node_modules/angular-datatables && linklocal",
"clean": "rimraf -f lib/**/index.{d.ts,js,js.map,metadata.json} demo/**/*.{d.ts,js,map,metadata.json} schematics/**/*.{d.ts,js,map}",
"link:lib": "rimraf node_modules/angular-datatables && npm run build:lib && linklocal",
"demo:test": "ng test",
"demo:test-ci": "ng test --no-watch --no-progress --browsers=ChromeHeadless",
"lib:schematics:build": "tsc -p lib/schematics/tsconfig.json",
"demo:build:prod": "ng build --configuration production --aot --base-href /angular-datatables/",
"demo:build:prod": "npm run clean && ng build angular-datatables-demo --configuration production --base-href=/angular-datatables",
"version": "npm run build && git add -A",
"postversion": "git push && git push --tags"
},
Expand Down
3 changes: 0 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
"paths": {
"@angular/*": [
"node_modules/@angular/*"
],
"angular-datatables": [
"./lib/"
]
},
"resolveJsonModule": true,
Expand Down

0 comments on commit 35c9f8b

Please sign in to comment.