Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 25540b6

Browse files
Include declarations in npm package (#73)
1 parent 6ab5e5d commit 25540b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.1.1",
44
"description": "SonarJS rules for ESLint",
55
"main": "lib/index.js",
6+
"types": "lib/index.d.ts",
67
"repository": "[email protected]:SonarSource/eslint-plugin-sonarjs.git",
78
"license": "LGPL-3.0",
89
"keywords": ["sonarjs", "eslint", "eslintplugin"],
@@ -14,7 +15,7 @@
1415
"node": ">=6"
1516
},
1617
"scripts": {
17-
"build": "rimraf lib && tsc -p tsconfig-src.json",
18+
"build": "rimraf lib && tsc -d -p tsconfig-src.json",
1819
"test": "jest",
1920
"ruling": "ts-node ruling/index.ts",
2021
"typecheck": "tsc -p tsconfig.json",

0 commit comments

Comments
 (0)