Skip to content

Commit 6734df5

Browse files
committed
infra: update npmignore and add test dir to eslint config
1 parent 9d9a519 commit 6734df5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.npmignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ npm-debug.log
33

44
# Uncompiled Source Files
55
src
6+
test
67

78
# Node Modules
89
node_modules/
@@ -23,4 +24,7 @@ lib/test
2324

2425
# Github Configuration Files
2526
_config.yml
26-
.git*
27+
.git*
28+
29+
# Extra documentation files
30+
upgrade_guides/*

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"compile": "tsc -p tsconfig.build.json",
2222
"coverage": "nyc npm run test",
2323
"coveralls": "nyc report --reporter=text-lcov | coveralls",
24-
"lint": "eslint --ext .js,.ts src",
24+
"lint": "eslint --ext .js,.ts src test",
2525
"prepublishOnly": "npm run build",
2626
"test": "mocha -r ts-node/register test/index.ts"
2727
},

0 commit comments

Comments
 (0)