Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 285e021

Browse files
authored
types (#113)
* types * chore: formatting
1 parent f9bc490 commit 285e021

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
{
22
"name": "@tokenstreet/eslint-plugin",
33
"version": "0.3.1",
4-
"description": "tokenstreet ESLint plugin",
4+
"description": "tokenstreet React Native ESLint plugin",
55
"keywords": [
66
"eslint",
77
"eslintplugin",
88
"eslint-plugin"
99
],
1010
"author": "Daniel Reichhart <daniel@tokenstreet.com>",
1111
"main": "./dist/index.js",
12+
"types": "./dist/index.d.ts",
13+
"source": "./lib/index.ts",
1214
"files": [
13-
"dist/**"
15+
"lib",
16+
"dist"
1417
],
1518
"scripts": {
1619
"build": "tsc --project tsconfig.build.json",

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */
4343

4444
/* Emit */
45-
// "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
46-
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
45+
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
46+
"declarationMap": true, /* Create sourcemaps for d.ts files. */
4747
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
4848
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
4949
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output. */

0 commit comments

Comments
 (0)