Skip to content

Commit

Permalink
Removed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarshdubey committed Feb 1, 2021
1 parent 9656724 commit fe86b60
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 29 deletions.
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

9 changes: 0 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,13 @@
"postbuild": "node scripts/mv.js",
"start": "microbundle-crl src/index.tsx -o ./dist watch --no-compress --format modern --tsconfig tsconfig.json",
"prepare": "run-s build",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:lint": "eslint .",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build"
},
"peerDependencies": {
"react": "^16.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "^25.1.4",
"@types/node": "^12.12.38",
"@types/react": "^16.9.27",
"@types/react-dom": "^16.9.7",
Expand Down
5 changes: 0 additions & 5 deletions src/.eslintrc

This file was deleted.

7 changes: 0 additions & 7 deletions src/index.test.tsx

This file was deleted.

1 change: 1 addition & 0 deletions src/react-app-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="react-scripts" />
23 changes: 19 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"compilerOptions": {
"outDir": "dist",
"module": "ESNext",
"lib": ["dom", "esnext"],
"lib": [
"dom",
"esnext"
],
"moduleResolution": "node",
"jsx": "react",
"sourceMap": true,
Expand All @@ -17,8 +20,20 @@
"noUnusedParameters": true,
"allowSyntheticDefaultImports": true,
"allowJs": true,
"target": "ESNext"
"target": "ESNext",
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true
},
"include": ["src"],
"exclude": ["node_modules", "dist", "example"]
"include": [
"src"
],
"exclude": [
"node_modules",
"dist",
"example"
]
}

0 comments on commit fe86b60

Please sign in to comment.