Added typescript package and node types.

parent 2b29f9ad
......@@ -6,7 +6,8 @@
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "jest"
"test": "jest",
"test-watch": "npx jest --watchAll"
},
"repository": {
"type": "git",
......@@ -28,8 +29,10 @@
},
"devDependencies": {
"@types/jest": "^23.3.10",
"@types/node": "^10.12.15",
"generator-gitignore-io": "^0.1.0",
"jest": "^23.6.0",
"ts-jest": "^23.10.5"
"ts-jest": "^23.10.5",
"typescript": "^3.2.2"
}
}
......@@ -10,7 +10,12 @@
"typeRoots": [
"./node_modules/@types",
"./src/typings"
]
],
"paths": {
"camelcase": [
"./src/typings/camelcase/index.d.ts"
]
}
},
"exclude": [
"node_modules"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment