Gathering detailed insights and metrics for @weareluastudio/cra-template
Gathering detailed insights and metrics for @weareluastudio/cra-template
Gathering detailed insights and metrics for @weareluastudio/cra-template
Gathering detailed insights and metrics for @weareluastudio/cra-template
npm install @weareluastudio/cra-template
Typescript
Module System
19.8
Supply Chain
52.4
Quality
63
Maintenance
25
Vulnerability
89
License
TypeScript (75.6%)
HTML (19.31%)
CSS (5.09%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
5,340
Last Day
1
Last Week
5
Last Month
86
Last Year
645
MIT License
1 Stars
46 Commits
2 Watchers
23 Branches
1 Contributors
Updated on Nov 08, 2020
Latest Version
0.5.9
Package Id
@weareluastudio/cra-template@0.5.9
Unpacked Size
19.41 kB
Size
8.52 kB
File Count
33
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-66.7%
5
Compared to previous week
Last Month
87%
86
Compared to previous month
Last Year
-29.7%
645
Compared to previous year
LUApp it's a typescript cra-template with firebase, react-router, react-feather, react-snapshot, prettier and ts-lint for code linting, it also includes HOC for app strings like Android App structure.
yarn:
npx create-react-app [project-name] --template @weareluastudio
npm:
npm init react-app [project-name] --template @weareluastudio
npm:
npm run addLinter
yarn:
yarn addLinter
|-- 📁 public/
| |-- 📑 index.html
| |-- 📜 manifest.json
| |-- 🤖 robots.txt
|-- 📁 src/
| |-- 📚 Components/
| | |-- 💻 App/
| | |-- ⚛️ App.tsx
| |-- 🗃 Context/
| | |-- 📦 MainContext.ts
| |-- 🉐 Lang/
| | |-- 📄 Strings.json
| |-- 🌎 Env/
| |-- |-- 🉐 Strings.ts
| | |-- 📦 global.d.ts
| |-- 📖 Pages/
| | |-- 📝 Index/
| | |-- ⚛️ Index.tsx
| |-- 🖌 index.css
| |-- ⚛️ index.tsx
| |-- 📦 react-app-env.d.ts
| |-- 📦 serviceWorker.ts
|-- ⚙️ .editorconfig
|-- 💅🏽 .prettierrc
|-- ⛔️ .gitignore
|-- 🗳 tsconfig.json
|-- 🎀 tslint.json
When you create a page you must create a folder on 📖 src/Pages and then edit 💻 src/Components/App to add the page on router. If you work on SPA (Single Page Application) just add components to 📝 Pages/Index/Index.tsx
When you write strings to your app, edit on 🉐 Lang/Strings.json and consume the strings from Context Provider, example:
1// Pages/MyPage.tsx 2import React, { useContext } from "react"; 3import MainContext from "../Context/MainContext.ts"; 4 5const MyPage: React.FC = () => { 6 const { lang } = useContext(MainContext); 7 8 return <h1>{lang.hello}</h1>; 9};
1// Env/Strings.ts 2export interface Strings { 3 es: Es; 4} 5 6export interface Es { 7 hello: string; 8}
1// Lang/Strings.json 2{ 3 "es": { 4 "hello": "Hello World" 5 } 6}
This template it's very useful for large or complex projects with many developers, at LUA Development Studio all of our apps are written with this template. 'We use Context Api instead of Redux or MobX, just for performance"
All rights reserved LUA Development Studio ®
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
99 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More