-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.68 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
44
45
46
47
48
49
50
51
52
{
"name": "lsalab",
"private": true,
"workspaces": [
"packages/web",
"packages/strapi"
],
"scripts": {
"setup": "yarn && yarn bootstrap",
"bootstrap": "lerna bootstrap",
"dev": "concurrently --kill-others --success first \"yarn dev:front\" \"yarn dev:back\"",
"dev:front": "yarn --cwd ./packages/web dev",
"dev:back": "yarn --cwd ./packages/strapi develop",
"start": "yarn --cwd ./packages/strapi start",
"build": "concurrently --kill-others --success first \"yarn --cwd ./packages/strapi build\" \"yarn --cwd ./packages/web build\"",
"build:front": "yarn --cwd ./packages/web build",
"build:back": "yarn --cwd ./packages/strapi build",
"deploy": "scripts/start-server.sh && yarn build:front",
"test": "yarn test:front && yarn test:back",
"test:front": "yarn --cwd ./packages/web test",
"test:back": "yarn --cwd ./packages/strapi test",
"lint": "yarn lint:front && yarn lint:back",
"lint:front": "yarn --cwd ./packages/web lint",
"lint:back": "yarn --cwd ./packages/strapi lint",
"fix": "yarn fix:front && yarn fix:back",
"fix:front": "yarn --cwd ./packages/web fix",
"fix:back": "yarn --cwd ./packages/strapi fix",
"prepare": "husky install"
},
"devDependencies": {
"concurrently": "^7.0.0",
"eslint": "^8.12.0",
"husky": "^7.0.4",
"lerna": "^4.0.0",
"lint-staged": "^12.3.7",
"prettier": "^2.6.1"
},
"dependencies": {
"algoliasearch": "^4.13.0",
"dotenv": "^16.0.0",
"pg": "^8.7.3",
"vue-instantsearch": "^4.3.3"
},
"lint-staged": {
"*.{ts,vue,js,md,css,scss,yaml,yml}": [
"prettier --write"
],
"*.{ts,vue,js}": [
"eslint --fix"
]
}
}