Skip to content

Commit

Permalink
chore: 📦 Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicente015 committed Jan 15, 2022
1 parent 239af69 commit 3c37125
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
"name": "instatus.ts",
"version": "1.2.2",
"description": "Library to interact with the Instatus API",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run lint && rimraf lib && tsc",
"build:test": "npx rimraf lib && tsc",
"build:watch": "npx rimraf lib && tsc --watch",
"build": "npm run lint && rimraf dist && tsc",
"build:test": "npx rimraf dist && tsc",
"build:watch": "npx rimraf dist && tsc --watch",
"lint": "npx eslint --ext .ts src/",
"lint:fix": "npx eslint --ext .ts src/ --fix",
"prepublishOnly": "npm run build",
Expand Down
14 changes: 2 additions & 12 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,13 @@
"module": "commonjs",
"moduleResolution": "node",
"target": "es5",
"outDir": "lib",
"outDir": "dist",
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"declaration": true,
"removeComments": false,
"strictNullChecks": true
},
"include": ["**/*"],
"exclude": [
"node_modules",
"dist",
"lib",
"scripts",
"docs",
"examles",
"test",
"testing"
]
"include": ["src/**/*.ts"]
}

0 comments on commit 3c37125

Please sign in to comment.