diff --git a/package.json b/package.json index f92b17c..06f58fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nope-validator", - "version": "0.2.0", + "version": "0.3.0", "main": "lib/index.js", "types": "lib/index.d.ts", "license": "MIT", diff --git a/src/NopeBooolean.ts b/src/NopeBoolean.ts similarity index 100% rename from src/NopeBooolean.ts rename to src/NopeBoolean.ts diff --git a/src/index.ts b/src/index.ts index 68f10c3..e39441a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,7 @@ import NopeObject from './NopeObject'; import NopeString from './NopeString'; import NopeNumber from './NopeNumber'; -import NopeBoolean from './NopeBooolean'; +import NopeBoolean from './NopeBoolean'; import NopeDate from './NopeDate'; import NopeReference from './NopeReference'; diff --git a/tsconfig.json b/tsconfig.json index c7fe003..329c839 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,15 @@ { "compilerOptions": { "target": "es5", - "module": "umd", + "module": "commonjs", + "lib": ["es2017", "es7", "es6", "dom"], "declaration": true, - "outDir": "./lib", + "outDir": "lib", "strict": true, "esModuleInterop": true }, - "include": ["src"], - "exclude": ["node_modules", "**/__tests__/*"] -} + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file