-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
69 lines (69 loc) · 1.82 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
67
68
69
{
"name": "simplest-cms",
"version": "1.6.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/simplest-cms/simplest-cms"
},
"bin": {
"simplest-cms": "./packages/cli/cli.js"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/jest"
]
},
"scripts": {
"build": "yarn workspace @simplest-cms/app build:bundle",
"doc:start": "npx http-server docs -o -p 3002",
"docker:bash": "docker exec -i -t simplest-cms_php_1 /bin/bash",
"docker:build": "docker-compose build",
"docker:down": "docker-compose down",
"docker:down:volumes": "docker-compose down --volumes",
"docker:pause": "docker-compose pause",
"docker:restart": "docker-compose restart",
"docker:unpause": "docker-compose unpause",
"docker:up": "docker-compose up -d",
"lint": "eslint --fix --ext .js,.ts,.tsx",
"lint:ci": "eslint --quiet --ext .js,.ts,.tsx .",
"lint:fix": "eslint --fix --ext .js,.ts,.tsx .",
"php-server": "cd dist && php -S localhost:8001",
"prettier": "prettier",
"start": "yarn workspace @simplest-cms/app start"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,tsx,js}": [
"yarn prettier --write",
"yarn lint",
"git add"
],
"package.json": [
"yarn prettier --write",
"yarn sort-package-json",
"git add"
]
},
"dependencies": {
"chalk": "^2.4.2",
"commander": "^3.0.2"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"sort-package-json": "^1.22.1"
}
}