Skip to content

Commit

Permalink
fix: publish src folder for source maps, fixes #273 (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding authored Dec 18, 2023
1 parent 5c86b35 commit 18a8909
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.chrome
.circleci
.github
.gitbook.yaml
.idea
.vscode
CHANGELOG.md
Expand All @@ -9,20 +10,19 @@ cypress
cypress.json
cypress-mochawesome.js
doc
src
ISSUE_TEMPLATE.md
package-scripts.js
screenshots
webpack.config.js

**/dist-demo
docs
website
index.ejs
react-project
react_project
favicon.ico
tsconfig.spec.json
**/tsconfig.build.json
**/tsconfig.spec.json

# Lock & error files
npm-debug.log
Expand All @@ -31,9 +31,10 @@ yarn-error.log

# Tests, Report & Coverage
.codecov.yml
*.spec.ts
**/__tests__/*.*
jest.conf.js
test/
**/*.spec.ts
**/node_modules
**/coverage
**/jest-coverage
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
"test:jest:coverage": "npx jest --detectOpenHandles --runInBand --coverage --config test/jest.config.js",
"preview:release": "release-it --dry-run",
"release": "release-it --only-version",
"serve:demo": "serve ./website -l 8080 --no-request-logging"
"serve:demo": "serve ./website -l 8080 --no-request-logging",
"pack": "npm pack"
},
"browserslist": [
"last 2 version",
Expand All @@ -90,6 +91,10 @@
"react-app/jest"
]
},
"files": [
"/dist",
"/src/slickgrid-react"
],
"dependencies": {
"@slickgrid-universal/common": "~4.0.3",
"@slickgrid-universal/custom-footer-component": "~4.0.3",
Expand Down
3 changes: 3 additions & 0 deletions src/slickgrid-react/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/__tests__/*.*
**/*.spec.ts
**/tsconfig.build.json

0 comments on commit 18a8909

Please sign in to comment.