Skip to content

Commit

Permalink
feat(init): begin repo
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Boll <[email protected]>
  • Loading branch information
Daniel-Boll committed Feb 5, 2023
0 parents commit a58fef6
Show file tree
Hide file tree
Showing 16 changed files with 5,588 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.yml]
indent_style = space
indent_size = 2
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
node_modules/
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodejs 18.14.0
pnpm 7.27.0-0
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Expresso TS - CLI (Test)

This is a CLI for the Expresso TS framework.

## Installation

```bash
npm install -g @expressots/cli # Eventually
```

## Local usage

```bash
npm install
npm run start
```

### Help message

```bash
npm run start --help
```

### Create a new project

```bash
npm run start new project
```
58 changes: 58 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"name": "cli",
"version": "0.0.0",
"license": "MIT",
"bin": "dist/cli.js",
"engines": {
"node": ">=10"
},
"scripts": {
"build": "tsc && chmod +x dist/cli.js",
"start": "npm run build && dist/cli.js",
"pretest": "npm run build",
"test": "xo && ava"
},
"files": [
"dist/cli.js"
],
"dependencies": {
"ink": "^3.2.0",
"ink-big-text": "^1.2.0",
"ink-form": "^1.0.2",
"ink-gradient": "^2.0.0",
"react": "^17.0.2",
"yargs": "^17.6.2"
},
"ava": {
"typescript": {
"extensions": [
"tsx"
],
"rewritePaths": {
"source/": "dist/"
}
}
},
"xo": {
"extends": "xo-react",
"rules": {
"react/prop-types": "off"
}
},
"devDependencies": {
"@ava/typescript": "^3.0.1",
"@sindresorhus/tsconfig": "^3.0.1",
"@types/ink-big-text": "^1.2.1",
"@types/ink-gradient": "^2.0.1",
"@types/react": "^18.0.27",
"@types/yargs": "^17.0.22",
"ava": "^5.1.1",
"chalk": "^4.1.2",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"ink-testing-library": "^2.1.0",
"typescript": "^4.9.5",
"xo": "^0.39.1"
}
}
Loading

0 comments on commit a58fef6

Please sign in to comment.