mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-12-19 05:19:42 +08:00
94 lines
2.3 KiB
JSON
94 lines
2.3 KiB
JSON
{
|
|
"name": "@ionic/react",
|
|
"version": "6.1.11",
|
|
"description": "React specific wrapper for @ionic/core",
|
|
"keywords": [
|
|
"ionic",
|
|
"framework",
|
|
"react",
|
|
"mobile",
|
|
"app",
|
|
"hybrid",
|
|
"webapp",
|
|
"cordova",
|
|
"progressive web app",
|
|
"pwa"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ionic-team/ionic.git"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "npm run build",
|
|
"build": "npm run clean && npm run copy && npm run compile",
|
|
"clean": "rimraf dist && rimraf dist-transpiled && rimraf routing",
|
|
"compile": "npm run tsc && rollup -c",
|
|
"release": "np --any-branch --yolo --no-release-draft",
|
|
"lint": "tslint --project .",
|
|
"lint.fix": "tslint --project . --fix",
|
|
"tsc": "tsc -p .",
|
|
"copy": "node scripts/copy.js",
|
|
"test.spec": "jest --ci",
|
|
"test.treeshake": "node scripts/treeshaking.js dist/index.esm.js",
|
|
"sync": "sh ./scripts/sync.sh"
|
|
},
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.esm.js",
|
|
"types": "dist/types/index.d.ts",
|
|
"files": [
|
|
"dist/",
|
|
"css/"
|
|
],
|
|
"dependencies": {
|
|
"@ionic/core": "^6.1.11",
|
|
"ionicons": "^6.0.2",
|
|
"tslib": "*"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.8.6",
|
|
"react-dom": ">=16.8.6"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-node-resolve": "^8.1.0",
|
|
"@rollup/plugin-virtual": "^2.0.3",
|
|
"@testing-library/jest-dom": "^5.11.6",
|
|
"@testing-library/react": "^11.2.2",
|
|
"@testing-library/react-hooks": "^7.0.1",
|
|
"@types/jest": "^26.0.15",
|
|
"@types/node": "^14.0.14",
|
|
"@types/react": "16.14.0",
|
|
"@types/react-dom": "^16.9.0",
|
|
"fs-extra": "^9.0.1",
|
|
"jest": "^26.6.3",
|
|
"np": "^6.4.0",
|
|
"prettier": "^2.2.0",
|
|
"react": "^16.9.0",
|
|
"react-dom": "^16.9.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.26.4",
|
|
"rollup-plugin-sourcemaps": "^0.6.2",
|
|
"ts-jest": "^26.4.4",
|
|
"tslint": "^6.1.2",
|
|
"tslint-ionic-rules": "0.0.21",
|
|
"tslint-react": "^5.0.0",
|
|
"typescript": "^3.9.5"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/jest.setup.js"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"cypress",
|
|
"node_modules",
|
|
"dist-transpiled",
|
|
"dist",
|
|
"test-app"
|
|
],
|
|
"modulePaths": [
|
|
"<rootDir>"
|
|
]
|
|
}
|
|
}
|