* Add deploy cli * add development instructions * Fix async runner and add extra token info * Add prettier * Move prettier config * Add Prettier and pre-commit linting * Remove package.json * Move Prettier config to cli * Pull version from package.json * Get description from package.json * Update package info * Update package name * Add cli to coder org Co-authored-by: Ben Potter <me@bpmct.net>
15 lines
330 B
JSON
15 lines
330 B
JSON
{
|
|
"scripts": {
|
|
"cli:format": "prettier --config ./cli/.prettierrc --ignore-path ./cli/.prettierignore --write ./cli",
|
|
"prepare": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"husky": ">=6",
|
|
"lint-staged": ">=10",
|
|
"prettier": "^2.3.2"
|
|
},
|
|
"lint-staged": {
|
|
"./cli/*.{js,css,md}": "yarn cli:format"
|
|
}
|
|
}
|