Skip to content

Commit 4ea58af

Browse files
Laurent RenardLaurent Renard
Laurent Renard
authored and
Laurent Renard
committed
move declarations to its own folder
1 parent fc8e091 commit 4ea58af

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "smart-table-json-pointer",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "json pointer",
55
"main": "./dist/bundle/index",
66
"module": "./dist/src/index.js",
7-
"types": "./dist/src/index.d.ts",
7+
"types": "./dist/declarations/index.d.ts",
88
"directories": {
99
"test": "test"
1010
},

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"noImplicitAny": false,
1010
"preserveConstEnums": true,
1111
"target": "es2017",
12-
"declaration": true
12+
"declaration": true,
13+
"declarationDir": "dist/declarations"
1314
},
1415
"include": [
1516
"./dist/src/*"

0 commit comments

Comments
 (0)