Skip to content

Commit

Permalink
feat: set up workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
kkweon authored Jun 26, 2022
1 parent db8f094 commit 91fb331
Show file tree
Hide file tree
Showing 6 changed files with 783 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
9 changes: 9 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
printWidth: 80
tabWidth: 2
useTabs: false
semi: false
singleQuote: true
trailingComma: all
bracketSpacing: true
jsxBracketSameLine: false
arrowParens: avoid
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cSpell.words": ["Unsmile"]
}
29 changes: 29 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "hateout",
"version": "1.0.0",
"description": "This demo project is to detect hate speeches in the browser by leveraging on-device machine learning. We will support Korean only, and provide this project as browser extensions.",
"private": "true",
"scripts": {
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codingpot/hateout.git"
},
"bugs": {
"url": "https://github.com/codingpot/hateout/issues"
},
"workspaces": [
"extension/*",
"trainer/*"
],
"homepage": "https://github.com/codingpot/hateout#readme",
"devDependencies": {
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}
Loading

0 comments on commit 91fb331

Please sign in to comment.