Added jest files and created src dir

parent 74e3af3f
module.exports = {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
};
\ No newline at end of file
......@@ -2,10 +2,11 @@
"name": "iscamelcase",
"version": "0.6.6",
"description": "A small package that compares strings with there camelCased counterparts",
"main": "./index.js",
"main": "src/index.js",
"types": "./index.d.ts",
"scripts": {
"build": "tsc"
"build": "tsc",
"test": "jest"
},
"repository": {
"type": "git",
......@@ -26,6 +27,9 @@
"file-extension": "^4.0.5"
},
"devDependencies": {
"generator-gitignore-io": "^0.1.0"
"@types/jest": "^23.3.10",
"generator-gitignore-io": "^0.1.0",
"jest": "^23.6.0",
"ts-jest": "^23.10.5"
}
}
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