Skip to content

Commit 0f2245c

Browse files
ZimmerAmr-c
authored andcommitted
Update main, types and files attributes
1 parent 3f31751 commit 0f2245c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

schema_salad/typescript/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "${project_name}",
33
"version": "${version}",
44
"description": "${project_description}",
5-
"main": "index.js",
5+
"main": "dist/index.js",
6+
"types": "dist/index.d.ts",
67
"scripts": {
78
"test": "nyc --reporter=lcov mocha --require ts-node/register src/test/**/*.ts",
89
"doc": "rm -rf ./docs && typedoc src/index.ts"
@@ -32,5 +33,8 @@
3233
"node-fetch": "^2.6.6",
3334
"uri-js": "^4.4.1",
3435
"uuid": "^8.3.2"
35-
}
36+
},
37+
"files": [
38+
"/dist"
39+
]
3640
}

0 commit comments

Comments
 (0)