performance-results-app 1.8.4
Install from the command line:
Learn more about npm packages
$ npm install @rankmi/performance-results-app@1.8.4
Install via package.json:
"@rankmi/performance-results-app": "1.8.4"
About this version
- Node.js
- Yarn
- React
- Jest
- Axios
- Node 12.22.12
- A wrapper for translations
- Set your token in .npmrc
Github Token in
.npmrc
. See CREATE TOKEN
Execute any command like yarn COMMAND
.
Command | Description |
---|---|
prebuild |
Run build antd css |
build |
Run build ouput |
prepublish |
Run build when run npm publish
|
test:build |
Run local build for simulate publish ouput |
test:lint |
Run eslint rules |
lint:fix |
Run fixed from eslint ouput |
start |
Run project |
test |
Run test suites |
pack |
Create a local version |
npm i "@rankmi/performance-results-app"
yarn add "@rankmi/performance-results-app"
- Generate a non publish version of
performance-results-app
with:
yarn pack
- Install the generated pack on you project:
yarn add <path-of-pack>
Note:
<path-of-pack>
is the path of the.tar
file generated byyarn pack
import 'performance-results-app/dist/index.css'
import 'performance-results-app/dist/antd.css'
Import antd.css file only when component is used outside of rankmi app.
import { PerformanceResultsAdmin } from "@rankmi/performance-results-app"
name | type | description | required |
---|---|---|---|
locale |
json object | add translation keys |
- default
locale
prop
{
alert: {
message: 'La pestaña de Administración estará visible por defecto para los usuarios administradores en el menú',
error: 'Ocurrió un error, por favor intente mas tarde',
success: 'Cambios guardados existosamente'
},
title: 'Configuración',
table: {
switch: {
yes: 'Si',
no: 'No'
},
section: 'Secciones',
admin_tab: 'Mostrar evaluaciones',
evaluation_tab: 'Mostrar resultados',
admin_tab: 'Administración'
}
}
import { PerformanceResultsAdmin } from "@rankmi/performance-results-app"
<PerformanceResultsAdmin locale={translationsKeys} />
import { PerformanceResultsHome } from "@rankmi/performance-results-app"
name | type | description | required |
---|---|---|---|
locale |
json object | add translation keys |
- default
locale
prop:
{
tabs: {
results_tab: 'Resultados',
admin_tab: 'Administración',
evaluation_tab: 'Evaluación'
}
,
emptyState: {
message: 'No hay información disponible. Por favor revise la configuración o intente mas tarde'
}
}
import { PerformanceResultsHome } from "@rankmi/performance-results-app"
<PerformanceResultsHome locale={translationsKeys} />
In order to develop on this package, you will need:
- Run
yarn install
andyarn start
- Set up the emulator
Rankmi Spa, [email protected]
- Slack:
Manuel Rodrigues
- Github:
manuelror
Do you need more info? Write me 💻
Rankmi News is available under the MIT license. See the MIT LICENSE link for more info.
Details
- performance-results-app
-
Rankmi
- 1 day ago
- MIT
- 54 dependencies
Assets
- performance-results-app-1.8.4.tgz
Download activity
- Total downloads 3
- Last 30 days 3
- Last week 3
- Today 0