123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- {
- "name": "my-app",
- "version": "0.1.0",
- "private": true,
- "dependencies": {
- "autoprefixer": "7.1.6",
- "babel-jest": "^22.1.0",
- "babel-loader": "^7.1.2",
- "babel-preset-react-app": "^3.1.1",
- "case-sensitive-paths-webpack-plugin": "2.1.1",
- "chalk": "1.1.3",
- "css-loader": "0.28.7",
- "dotenv": "4.0.0",
- "dotenv-expand": "4.2.0",
- "extract-text-webpack-plugin": "3.0.2",
- "file-loader": "0.11.2",
- "fork-ts-checker-webpack-plugin": "^0.2.8",
- "fs-extra": "3.0.1",
- "html-webpack-plugin": "2.29.0",
- "jest": "22.4.2",
- "less": "^3.7.0",
- "less-loader": "^4.1.0",
- "object-assign": "4.1.1",
- "postcss-flexbugs-fixes": "3.2.0",
- "postcss-loader": "2.0.8",
- "promise": "8.0.1",
- "raf": "3.4.0",
- "react": "^16.4.1",
- "react-dev-utils": "^5.0.1",
- "react-dom": "^16.4.1",
- "resolve": "1.6.0",
- "source-map-loader": "^0.2.1",
- "style-loader": "0.19.0",
- "sw-precache-webpack-plugin": "0.11.4",
- "ts-jest": "22.0.1",
- "ts-loader": "^2.3.7",
- "tsconfig-paths-webpack-plugin": "^2.0.0",
- "tslint": "^5.7.0",
- "tslint-config-prettier": "^1.10.0",
- "tslint-react": "^3.2.0",
- "uglifyjs-webpack-plugin": "^1.1.8",
- "url-loader": "0.6.2",
- "webpack": "3.8.1",
- "webpack-dev-server": "2.9.4",
- "webpack-manifest-plugin": "1.3.2",
- "whatwg-fetch": "2.0.3"
- },
- "scripts": {
- "start": "node scripts/start.js",
- "build": "node scripts/build.js",
- "test": "node scripts/test.js --env=jsdom"
- },
- "devDependencies": {
- "@types/jest": "^23.1.5",
- "@types/node": "^10.5.2",
- "@types/react": "^16.4.6",
- "@types/react-dom": "^16.0.6",
- "typescript": "^2.9.2"
- },
- "jest": {
- "collectCoverageFrom": [
- "src/**/*.{js,jsx,ts,tsx}"
- ],
- "setupFiles": [
- "<rootDir>/config/polyfills.js"
- ],
- "testMatch": [
- "<rootDir>/src/**/__tests__/**/*.(j|t)s?(x)",
- "<rootDir>/src/**/?(*.)(spec|test).(j|t)s?(x)"
- ],
- "testEnvironment": "node",
- "testURL": "http://localhost",
- "transform": {
- "^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
- "^.+\\.tsx?$": "<rootDir>/config/jest/typescriptTransform.js",
- "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
- "^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
- },
- "transformIgnorePatterns": [
- "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$"
- ],
- "moduleNameMapper": {
- "^react-native$": "react-native-web"
- },
- "moduleFileExtensions": [
- "web.ts",
- "ts",
- "web.tsx",
- "tsx",
- "web.js",
- "js",
- "web.jsx",
- "jsx",
- "json",
- "node",
- "mjs"
- ],
- "globals": {
- "ts-jest": {
- "tsConfigFile": "C:\\Users\\Administrator\\Desktop\\TestProject\\react-dashboard-ts\\tsconfig.test.json"
- }
- }
- },
- "babel": {
- "presets": [
- "react-app"
- ]
- },
- "eslintConfig": {
- "extends": "react-app"
- }
- }
|