-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
43 lines (43 loc) · 1.61 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "website",
"private": "true",
"version": "0.0.1",
"description": "The public website of EasyEyes project.",
"scripts": {
"fetch": "git submodule foreach git pull",
"prepare": "husky install",
"setup": "sh scripts/git-prepare.sh",
"pull": "sh scripts/git-pull.sh",
"git": "sh scripts/git-update.sh",
"update:git": "git add -A && git commit -m 'update' && git push",
"update:sub": "cd docs/experiment && npm run update:git && cd ../..",
"update:phrases": "cd docs/experiment/threshold && npm run phrases && cd ../../.. && npm run git 'update phrases' 2",
"update:glossary": "cd docs/experiment/threshold && npm run glossary && cd ../../.. && npm run git 'update glossary' 2",
"update:fetch": "cd docs/experiment/threshold && npm run fetch && cd ../../.. && npm run git 'update fetch' 2",
"update": "run-s update:sub update:git",
"format": "prettier --write \"**/*.{js,json,md,html,css}\"",
"start": "cd docs/experiment && npm start",
"netlify": "git submodule update --init --recursive && cd docs/experiment && npm run netlify"
},
"repository": {
"type": "git",
"url": "git+https://github.com/EasyEyes/website.git"
},
"author": "EasyEyes",
"license": "MIT",
"bugs": {
"url": "https://github.com/EasyEyes/website/issues"
},
"homepage": "https://github.com/EasyEyes/website#readme",
"devDependencies": {
"eslint": "^8.53.0",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"netlify-cli": "^17.2.2",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3"
},
"lint-staged": {
"*.{js,json,md,html,css}": "prettier --write"
}
}