mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 12:19:10 +00:00
[ui-server]: init
This commit is contained in:
parent
9744228d98
commit
6b2f7289ce
5 changed files with 42 additions and 0 deletions
14
packages/roleypoly-ui-server/.lintstagedrc.yml
Normal file
14
packages/roleypoly-ui-server/.lintstagedrc.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
linters:
|
||||||
|
lib/**/*.{js,jsx}:
|
||||||
|
- standard --fix
|
||||||
|
- git add
|
||||||
|
lib/**/*.d.ts:
|
||||||
|
- tslint --fix
|
||||||
|
- git add
|
||||||
|
src/**/*.{ts,tsx}:
|
||||||
|
- tslint --fix
|
||||||
|
- stylelint --fix
|
||||||
|
- jest --bail --findRelatedTests
|
||||||
|
- git add
|
||||||
|
|
||||||
|
|
16
packages/roleypoly-ui-server/package.json
Normal file
16
packages/roleypoly-ui-server/package.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"private": true,
|
||||||
|
"name": "@roleypoly/ui-server",
|
||||||
|
"version": "2.0.0",
|
||||||
|
"scripts": {
|
||||||
|
"build": "tsc",
|
||||||
|
"precommit": "lint-staged",
|
||||||
|
"dev": "yarn build --watch"
|
||||||
|
},
|
||||||
|
"dependencies": {},
|
||||||
|
"devDependencies": {
|
||||||
|
"lint-staged": "^8.1.7",
|
||||||
|
"tslint": "^5.17.0",
|
||||||
|
"typescript": "^3.5.1"
|
||||||
|
}
|
||||||
|
}
|
0
packages/roleypoly-ui-server/src/.gitkeep
Normal file
0
packages/roleypoly-ui-server/src/.gitkeep
Normal file
9
packages/roleypoly-ui-server/tsconfig.json
Normal file
9
packages/roleypoly-ui-server/tsconfig.json
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./lib"
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"./src"
|
||||||
|
]
|
||||||
|
}
|
3
packages/roleypoly-ui-server/tslint.json
Normal file
3
packages/roleypoly-ui-server/tslint.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"extends": "tslint-config-standard"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue