Skip to content

Commit

Permalink
Fix package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktor-obrebski committed Feb 6, 2021
1 parent 708117a commit 67f4135
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 17 deletions.
21 changes: 13 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 14 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "type-safe-errors",
"version": "0.0.2",
"description": "Simple type-safe errors for TypeScript",
"main": "src/index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "NODE_ENV=test mocha --ui tdd src/**/*.test.ts",
"test:watch": "NODE_ENV=test mocha --ui tdd src/test/*.test.ts --watch",
Expand All @@ -18,16 +19,24 @@
"bugs": {
"url": "https://github.com/wiktor-obrebski/type-safe-errors/issues"
},
"keywords": [
"Result",
"Type-safe",
"Strongly typed"
],
"homepage": "https://github.com/wiktor-obrebski/type-safe-errors#readme",
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"@types/chai": "^4.2.7",
"@types/mocha": "^5.2.7",
"chai": "^4.2.0",
"mocha": "^8.2.1",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
"tslib": "^2.1.0"
},
"files": [
"dist/**/*"
]
],
"dependencies": {
"typescript": "^4.1.3"
}
}
7 changes: 3 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es5",
"target": "es6",
"declaration": true,
"outDir": "./dist",

Expand All @@ -13,8 +13,7 @@
"strict": true,
"lib": ["es2019"],
"moduleResolution": "node",
"types": ["node", "mocha", "chai", "sinon-chai"]
"types": ["mocha", "chai"]
},
"include": ["./src/**/*.ts"],
"exclude": ["node_modules", "./src/test/**/*"]
"include": ["./src/**/*.ts"]
}

0 comments on commit 67f4135

Please sign in to comment.