Skip to content

Commit

Permalink
build(publish): add configs for npm publish
Browse files Browse the repository at this point in the history
Signed-off-by: Niloy Sikdar <[email protected]>
  • Loading branch information
niloysikdar committed Oct 6, 2022
1 parent bc4e8cc commit ee5f77d
Show file tree
Hide file tree
Showing 3 changed files with 2,198 additions and 38 deletions.
15 changes: 15 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.husky/
src/
example/
spec/
.editorconfig
.eslintignore
.eslintrc
.gitignore
.prettierignore
.prettierrc
commitlint.config.ts
LICENSE
postbuild.sh
tsconfig.json
yarn.lock
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"build:esm": "tsc -p tsconfig.json",
"build:cjs": "tsc -p tsconfig.json --module commonjs --outDir dist/cjs --target es5",
"postbuild": "chmod u+rx ./postbuild.sh && ./postbuild.sh",
"release": "semantic-release --branches main",
"lint": "eslint src/**",
"lint:fix": "eslint --fix src/**",
"pretty": "prettier --check .",
Expand All @@ -55,16 +56,19 @@
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"cz-conventional-changelog": "3.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"semantic-release": "^19.0.5",
"typescript": "^4.8.3"
},
"keywords": []
Expand Down
Loading

0 comments on commit ee5f77d

Please sign in to comment.