mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
167 lines
4.6 KiB
JSON
167 lines
4.6 KiB
JSON
{
|
|
"name": "react-router-new",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@babel/core": "7.8.4",
|
|
"@capacitor/android": "^2.2.0",
|
|
"@capacitor/core": "1.5.2",
|
|
"@capacitor/ios": "^2.2.0",
|
|
"@ionic/react": "file:../../react/ionic-react-5.3.2.tgz",
|
|
"@svgr/webpack": "4.3.3",
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
"@testing-library/react": "^9.4.0",
|
|
"@testing-library/user-event": "^8.0.3",
|
|
"@types/jest": "^24.0.25",
|
|
"@types/node": "^12.12.24",
|
|
"@types/react": "^16.9.17",
|
|
"@types/react-dom": "^16.9.4",
|
|
"@types/react-router": "^5.1.8",
|
|
"@types/react-router-dom": "^5.1.3",
|
|
"@typescript-eslint/eslint-plugin": "^2.10.0",
|
|
"@typescript-eslint/parser": "^2.10.0",
|
|
"babel-jest": "^24.9.0",
|
|
"babel-loader": "^8.1.0",
|
|
"babel-plugin-named-asset-import": "^0.3.6",
|
|
"babel-preset-react-app": "^9.1.1",
|
|
"camelcase": "^5.3.1",
|
|
"case-sensitive-paths-webpack-plugin": "2.3.0",
|
|
"concurrently": "^5.2.0",
|
|
"cpy-cli": "^3.1.1",
|
|
"css-loader": "3.4.2",
|
|
"dotenv": "8.2.0",
|
|
"dotenv-expand": "5.1.0",
|
|
"eslint": "^6.6.0",
|
|
"eslint-config-react-app": "^5.2.0",
|
|
"eslint-loader": "3.0.3",
|
|
"eslint-plugin-flowtype": "4.6.0",
|
|
"eslint-plugin-import": "2.20.0",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-react": "7.18.0",
|
|
"eslint-plugin-react-hooks": "^1.6.1",
|
|
"file-loader": "4.3.0",
|
|
"fs-extra": "^8.1.0",
|
|
"html-webpack-plugin": "4.0.0-beta.11",
|
|
"identity-obj-proxy": "3.0.0",
|
|
"ionicons": "^5.0.0",
|
|
"jest": "24.9.0",
|
|
"jest-environment-jsdom-fourteen": "1.0.1",
|
|
"jest-resolve": "24.9.0",
|
|
"jest-watch-typeahead": "0.4.2",
|
|
"mini-css-extract-plugin": "0.9.0",
|
|
"npm-watch": "^0.6.0",
|
|
"optimize-css-assets-webpack-plugin": "5.0.3",
|
|
"pnp-webpack-plugin": "1.6.0",
|
|
"postcss-flexbugs-fixes": "4.1.0",
|
|
"postcss-loader": "3.0.0",
|
|
"postcss-normalize": "8.0.1",
|
|
"postcss-preset-env": "6.7.0",
|
|
"postcss-safe-parser": "4.0.1",
|
|
"react": "^16.12.0",
|
|
"react-app-polyfill": "^1.0.6",
|
|
"react-dev-utils": "^10.2.0",
|
|
"react-dom": "^16.12.0",
|
|
"react-router": "^5.2.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"resolve": "1.15.0",
|
|
"resolve-url-loader": "3.1.1",
|
|
"sass-loader": "8.0.2",
|
|
"semver": "6.3.0",
|
|
"source-map-loader": "^0.2.4",
|
|
"style-loader": "0.23.1",
|
|
"terser-webpack-plugin": "2.3.4",
|
|
"ts-pnp": "1.1.5",
|
|
"typescript": "3.7.4",
|
|
"url-loader": "2.3.0",
|
|
"webpack": "4.41.5",
|
|
"webpack-dev-server": "3.10.2",
|
|
"webpack-manifest-plugin": "2.2.0",
|
|
"workbox-webpack-plugin": "4.3.1"
|
|
},
|
|
"watch": {
|
|
"copyRouter": "../src/ReactRouter/*.*"
|
|
},
|
|
"scripts": {
|
|
"copyRouter": "cpy ../src/ReactRouter ./src/ReactRouter",
|
|
"start": "concurrently \"npm-watch copyRouter\" \"node scripts/start.js --no-cache\"",
|
|
"build": "node scripts/build.js",
|
|
"test": "cypress open"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/cli": "1.5.2",
|
|
"cypress": "^4.9.0",
|
|
"react-scripts": "3.4.1"
|
|
},
|
|
"description": "An Ionic project",
|
|
"jest": {
|
|
"roots": [
|
|
"<rootDir>/src"
|
|
],
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{js,jsx,ts,tsx}",
|
|
"!src/**/*.d.ts"
|
|
],
|
|
"setupFiles": [
|
|
"react-app-polyfill/jsdom"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/src/setupTests.ts"
|
|
],
|
|
"testMatch": [
|
|
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
|
|
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
|
|
],
|
|
"testEnvironment": "jest-environment-jsdom-fourteen",
|
|
"transform": {
|
|
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
|
|
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
|
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
|
|
"^.+\\.module\\.(css|sass|scss)$"
|
|
],
|
|
"modulePaths": [],
|
|
"moduleNameMapper": {
|
|
"^react-native$": "react-native-web",
|
|
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"web.js",
|
|
"js",
|
|
"web.ts",
|
|
"ts",
|
|
"web.tsx",
|
|
"tsx",
|
|
"json",
|
|
"web.jsx",
|
|
"jsx",
|
|
"node"
|
|
],
|
|
"watchPlugins": [
|
|
"jest-watch-typeahead/filename",
|
|
"jest-watch-typeahead/testname"
|
|
]
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"react-app"
|
|
]
|
|
}
|
|
}
|