Skip to content

Commit 1f96ae0

Browse files
committed
Publishing
1 parent 38aad45 commit 1f96ae0

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

package.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,21 @@
22
"name": "@aboutbits/pagination",
33
"version": "0.1.0",
44
"description": "Pagination",
5+
"keywords": [],
6+
"author": "AboutBits",
7+
"license": "MIT",
8+
"private": false,
59
"main": "index.js",
610
"scripts": {
711
"build": "tsc",
812
"lint": "eslint --ext js,ts,tsx src",
913
"lint:fix": "npm run lint -- --fix",
10-
"test": "jest --config jestconfig.json"
14+
"test": "jest --config jestconfig.json",
15+
16+
"prepare": "npm run build",
17+
"prepublishOnly": "npm test && npm run lint",
18+
"version": "npm run lint:fix && git add -A src",
19+
"postversion": "git push && git push --tags"
1120
},
1221
"repository": {
1322
"type": "git",
@@ -16,9 +25,9 @@
1625
"files": [
1726
"lib/**/*"
1827
],
19-
"keywords": [],
20-
"author": "AboutBits",
21-
"license": "MIT",
28+
"publishConfig": {
29+
"access": "public"
30+
},
2231
"bugs": {
2332
"url": "https://github.com/aboutbits/pagination/issues"
2433
},

0 commit comments

Comments
 (0)