Skip to content

Commit

Permalink
fix: prune non-required files from published artefact
Browse files Browse the repository at this point in the history
  • Loading branch information
biggyspender committed Feb 24, 2021
1 parent fbe01ee commit dae6894
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ coverage
.vscode
.idea
dist
build
compiled
.awcache
.rpt2_cache
Expand Down
1 change: 1 addition & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ set -e
npm run test:prod
npm run build
npm run report-coverage
npm run build-docs
npm run deploy-docs
npm run semantic-release
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
},
"scripts": {
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc",
"prebuild": "rimraf dist build",
"build": "tsc --module commonjs && rollup -c rollup.config.ts",
"build-docs": "typedoc",
"start": "rollup -c rollup.config.ts -w",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"declarationDir": "dist/types",
"outDir": "dist/lib",
"outDir": "build",
"typeRoots": [
"node_modules/@types"
],
Expand Down

0 comments on commit dae6894

Please sign in to comment.