Files
ionic-framework/packages/react/package.json
Sean Perkins 4ed6c60a69 chore(angular,react,vue): copy css with build.watch (#28934)
Issue number: N/A

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

CSS is not copied from the `core/` package when running each respective
framework package in watch mode.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- Copies the global styles from the `core/` package to each respective
framework package when running the build in watch mode.

Note: This does not register a file watcher to copy CSS updates after
the initial command is ran. This just avoids a scenario of the global
styles being updated and the developer _not_ running a `pnpm build`
prior to running `pnpm build.watch` and the global styles not being
reflected in the framework package.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!--
  If this introduces a breaking change:
1. Describe the impact and migration path for existing applications
below.
  2. Update the BREAKING.md file with the breaking change.
3. Add "BREAKING CHANGE: [...]" to the commit description when merging.
See
https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#footer
for more information.
-->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->
2024-01-31 11:34:40 -05:00

94 lines
2.3 KiB
JSON

{
"name": "@ionic/react",
"version": "7.6.6",
"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": "git+https://github.com/ionic-team/ionic-framework.git"
},
"scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run compile",
"build.watch": "pnpm copy && pnpm compile --watch",
"clean": "rimraf dist && rimraf routing",
"compile": "rollup -c",
"eslint": "eslint src",
"prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
"lint": "pnpm run eslint && pnpm run prettier --write --cache",
"lint.fix": "pnpm run eslint --fix && pnpm run prettier --write --cache",
"copy": "node scripts/copy.js",
"test.spec": "jest --ci"
},
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
"files": [
"dist/",
"css/"
],
"dependencies": {
"@ionic/core": "^7.6.6",
"ionicons": "^7.0.0",
"tslib": "*"
},
"peerDependencies": {
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
},
"devDependencies": {
"@ionic/eslint-config": "^0.3.0",
"@ionic/prettier-config": "^2.0.0",
"@rollup/plugin-typescript": "^11.1.5",
"@testing-library/jest-dom": "^6.1.5",
"@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",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"eslint": "^7.32.0",
"fs-extra": "^9.0.1",
"jest": "^26.6.3",
"jest-environment-jsdom": "^26.6.0",
"np": "^6.4.0",
"prettier": "^2.8.3",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"rimraf": "^3.0.2",
"rollup": "^4.2.0",
"ts-jest": "^26.4.4",
"typescript": "^4.0.5"
},
"jest": {
"preset": "ts-jest",
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
],
"testPathIgnorePatterns": [
"cypress",
"node_modules",
"dist",
"test/base/*",
"test/apps/*",
"test/build/*"
],
"modulePaths": [
"<rootDir>"
]
},
"prettier": "@ionic/prettier-config"
}