[ui-server]: init

This commit is contained in:
41666 2019-06-05 06:03:37 -05:00
parent 9744228d98
commit 6b2f7289ce
No known key found for this signature in database
GPG key ID: DE08FAA8925DC747
5 changed files with 42 additions and 0 deletions

View 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

View 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"
}
}

View file

@ -0,0 +1,9 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./lib"
},
"include": [
"./src"
]
}

View file

@ -0,0 +1,3 @@
{
"extends": "tslint-config-standard"
}