Skip to content

Commit bf99a92

Browse files
committed
chore: moves from npmignore to "files" whitelist
1 parent a3a8a2b commit bf99a92

File tree

4 files changed

+18
-294
lines changed

4 files changed

+18
-294
lines changed

.npmignore

Lines changed: 0 additions & 19 deletions
This file was deleted.

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@
33
"version": "1.2.0",
44
"description": "Common structure for koa routing",
55
"license": "UNLICENSED",
6-
"main": "dist/index.js",
7-
"types": "dist/index.d.ts",
86
"author": {
97
"name": "Launchcode",
108
"email": "admin@lc.dev",
119
"url": "https://lc.dev"
1210
},
11+
"main": "dist/index.js",
12+
"types": "dist/index.d.ts",
13+
"files": [
14+
"/dist",
15+
"!*.tsbuildinfo",
16+
"!*.test.*"
17+
],
1318
"bin": {
1419
"router-openapi-gen": "./dist/generate-openapi.js"
1520
},
16-
"files": [
17-
"*"
18-
],
1921
"scripts": {
2022
"build": "tsc -b",
2123
"clean": "rm -rf dist *.tsbuildinfo",

tslint.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)