Skip to content

Commit 1a6225d

Browse files
authored
feat: set up workspace
1 parent e0b785c commit 1a6225d

File tree

6 files changed

+783
-0
lines changed

6 files changed

+783
-0
lines changed

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx lint-staged

.prettierrc.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
printWidth: 80
2+
tabWidth: 2
3+
useTabs: false
4+
semi: false
5+
singleQuote: true
6+
trailingComma: all
7+
bracketSpacing: true
8+
jsxBracketSameLine: false
9+
arrowParens: avoid

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"cSpell.words": ["Unsmile"]
3+
}

package.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "hateout",
3+
"version": "1.0.0",
4+
"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.",
5+
"private": "true",
6+
"scripts": {
7+
"prepare": "husky install"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/codingpot/hateout.git"
12+
},
13+
"bugs": {
14+
"url": "https://github.com/codingpot/hateout/issues"
15+
},
16+
"workspaces": [
17+
"extension/*",
18+
"trainer/*"
19+
],
20+
"homepage": "https://github.com/codingpot/hateout#readme",
21+
"devDependencies": {
22+
"husky": "^8.0.1",
23+
"lint-staged": "^13.0.3",
24+
"prettier": "^2.7.1"
25+
},
26+
"lint-staged": {
27+
"**/*": "prettier --write --ignore-unknown"
28+
}
29+
}

0 commit comments

Comments
 (0)