@sberdevices/cra-template-plasma-basic-template
Advanced tools
Comparing version 1.2.0-canary.123.5b696857e9e9d965c1ced30ac143476dbeb392d4.0 to 1.2.0-canary.123.70d74ec572155635d0464c8d393cbf56d38a6da8.0
{ | ||
"name": "@sberdevices/cra-template-plasma-basic-template", | ||
"version": "1.2.0-canary.123.5b696857e9e9d965c1ced30ac143476dbeb392d4.0", | ||
"version": "1.2.0-canary.123.70d74ec572155635d0464c8d393cbf56d38a6da8.0", | ||
"description": "", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
], | ||
"gitHead": "5b696857e9e9d965c1ced30ac143476dbeb392d4" | ||
"gitHead": "70d74ec572155635d0464c8d393cbf56d38a6da8" | ||
} |
@@ -30,4 +30,8 @@ { | ||
"typescript": "3.9.3" | ||
}, | ||
"scripts": { | ||
"serve": "serve -s build", | ||
"build-and-serve": "npm run build && npm run serve" | ||
} | ||
} | ||
} |
@@ -1,70 +0,36 @@ | ||
# Getting Started with Create React App | ||
# Шаблон смартапа для create-react-app | ||
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). | ||
## Доступные скрипты | ||
## Available Scripts | ||
В каталоге проекта вы можете выполнить: | ||
In the project directory, you can run: | ||
### `npm start` | ||
### `yarn start` | ||
Запускает приложение в девелопмент режиме.\ | ||
Открыть [http://localhost:3000](http://localhost:3000) для просмотра в браузере. | ||
Runs the app in the development mode.\ | ||
Open [http://localhost:3000](http://localhost:3000) to view it in the browser. | ||
### `npm test` | ||
The page will reload if you make edits.\ | ||
You will also see any lint errors in the console. | ||
Запуск тестов | ||
### `yarn test` | ||
### `npm run build` | ||
Launches the test runner in the interactive watch mode.\ | ||
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. | ||
Сборка проекта в папку `build`.\ | ||
### `yarn build` | ||
### `npm run eject` | ||
Builds the app for production to the `build` folder.\ | ||
It correctly bundles React in production mode and optimizes the build for the best performance. | ||
**Примечание: Это необратимая операция и может быть выполнена только раз.** | ||
The build is minified and the filenames include the hashes.\ | ||
Your app is ready to be deployed! | ||
Позволяет выполнять настройку и сборку проекта самостоятельно. | ||
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. | ||
### `npm run serve` | ||
### `yarn eject` | ||
Поднимает простой http сервер, настроенный на папку build | ||
**Note: this is a one-way operation. Once you `eject`, you can’t go back!** | ||
### `npm run build-and-serve` | ||
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. | ||
Собирает проект и поднимает http сервер | ||
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. | ||
## Переменные окружения | ||
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. | ||
## Learn More | ||
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). | ||
To learn React, check out the [React documentation](https://reactjs.org/). | ||
### Code Splitting | ||
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) | ||
### Analyzing the Bundle Size | ||
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) | ||
### Making a Progressive Web App | ||
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) | ||
### Advanced Configuration | ||
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) | ||
### Deployment | ||
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) | ||
### `yarn build` fails to minify | ||
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) | ||
REACT_APP_SMARTAPP_TOKEN - токен, используется для тестирования и отладки с помощью [Assistant Client](https://developer.sberdevices.ru/docs/ru/developer_tools/sdk/overview) |
import { AssistantSmartAppData } from "@sberdevices/assistant-client"; | ||
import { GalleryPageState, PlasmaAppProps } from "@sberdevices/plasma-temple"; | ||
import { GalleryPageState, PlasmaAppProps, Assistat } from "@sberdevices/plasma-temple"; | ||
@@ -4,0 +4,0 @@ export type AssistantProps = PlasmaAppProps["assistantParams"]; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108289
18
320