Skip to content

Commit a2a6790

Browse files
committed
small improvements package.json
1 parent a32f0f2 commit a2a6790

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@
33
"version": "2.3.1",
44
"description": "Solid-compatible Panes: Source editor",
55
"main": "src/sourcePane.js",
6+
"files": [
7+
"/src",
8+
"README.md",
9+
"LICENSE"
10+
],
611
"scripts": {
712
"build": "echo nothing to build",
813
"lint": "eslint",
914
"test": "jest --no-coverage",
1015
"test-coverage": "jest --coverage --collectCoverageFrom=src/**/*.[jt]s",
11-
"prepublishOnly": "npm run lint && npm run test",
16+
"prepublishOnly": "npm run test && npm run build",
17+
"preversion": "npm run lint && npm test",
1218
"postpublish": "git push origin main --follow-tags"
1319
},
1420
"repository": {

0 commit comments

Comments
 (0)