-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
66 lines (66 loc) · 2.01 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "example",
"version": "0.0.0",
"private": true,
"author": "GS&F Devs <mindreactor@gsandf.com> (https://gsandf.com/)",
"license": "MIT",
"ava": {
"extensions": [
"js",
"ts"
],
"files": [
"src/**/*.test.ts"
],
"ignoredByWatcher": [
"!src/**"
],
"require": [
"./.ava-entry.js"
]
},
"devDependencies": {
"@prettier/plugin-php": "^0.17.1",
"amper-scripts": "^1.2.4",
"env-cmd": "^10.1.0",
"eslint": "^7.30.0",
"eslint-config-next": "^11.0.1",
"npm-run-all": "^4.1.5",
"pm2": "^5.1.0",
"prettier": "^2.3.1",
"typescript": "^4.3.5"
},
"scripts": {
"build": "yarn workspace @example/site build",
"deploy": "env-cmd pm2 deploy",
"deploy:develop": "yarn deploy develop",
"deploy:staging": "yarn deploy staging",
"deploy:production": "yarn deploy production",
"dev": "run-s start:dev",
"down": "docker-compose down",
"exec:develop": "yarn deploy develop exec",
"exec:production": "yarn deploy production exec",
"exec:staging": "yarn deploy staging exec",
"format": "run-p 'theme:prettier --write' 'site format --write'",
"lint": "run-p 'site lint'",
"serve": "next start packages/site/",
"site": "yarn workspace @example/site",
"site:start": " yarn workspace @example/site dev",
"start": "yarn start:dev",
"start:local": "run-s up",
"start:dev": "WORDPRESS_URL=${WORDPRESS_URL:-'https://dev.replace_me.com'} run-s site:start",
"start:stage": "WORDPRESS_URL='https://stage.replace_me.com' run-s site:start",
"start:prod": "WORDPRESS_URL='https://replace_me.com' run-s site:start",
"test": "run-p 'site test'",
"theme:prettier": "prettier packages/wordpress-theme ./**/*.{php,js}",
"typeCheck": "yarn site typeCheck",
"validate": "run-p 'theme:prettier --check' 'site validate'",
"up": "docker-compose --profile local up -d",
"wp": "docker-compose run --rm wpcli"
},
"workspaces": {
"packages": [
"packages/*"
]
}
}