-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.46 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "hgnm-2014",
"version": "1.18.2",
"description": "Repository for WordPress theme development for hgnm.org",
"scripts": {
"test": "sass-lint",
"prerelease": "npm test",
"release": "standard-version -a",
"build": "npm run css:build && npm run copy && npm run zip && npm run clean",
"precss:build": "npm test",
"css:build": "node-sass --include-path scss --output-style compressed scss/style.scss style.css",
"css:watch": "watch 'npm run css:build' scss",
"postcss:build": "postcss style.css -o style.css",
"copy": "cpy '**/*' '!scss/*' '!hgnm-2014/*' '!.gitignore' '!.sass-lint.yml' '!.travis.yml' '!install-dependencies.sh' '!node_modules/**/*' '!hgnm-2014.zip' '!ARCHITECTURE.md' '!*/README.md' 'hgnm-2014/' --parents --nodir",
"zip": "bestzip hgnm-2014.zip hgnm-2014/",
"clean": "rimraf hgnm-2014",
"postinstall": "./install-dependencies.sh && npm run css:build"
},
"repository": "HGNM/hgnm-2014",
"keywords": [
"Wordpress",
"theme"
],
"author": "Chris Swithinbank",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/HGNM/hgnm-2014/issues"
},
"homepage": "https://github.com/HGNM/hgnm-2014#readme",
"devDependencies": {
"@commitlint/cli": "^8.3.6",
"@commitlint/config-conventional": "^8.3.4",
"@commitlint/travis-cli": "^8.3.5",
"@masonite/wp-project-version-sync": "^1.1.0",
"autoprefixer": "^9.7.4",
"bestzip": "^2.1.7",
"commitizen": "^4.2.5",
"cpy-cli": "git+https://github.com/chimon2000/cpy-cli.git",
"cz-conventional-changelog": "^3.0.2",
"husky": "^4.0.10",
"node-sass": "^4.13.1",
"postcss-cli": "^7.1.0",
"rimraf": "^3.0.0",
"sass-lint": "^1.13.1",
"standard-version": "^8.0.1",
"watch": "^1.0.2"
},
"engines": {
"node": ">=10.0.0"
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [
"last 2 versions",
"not dead",
"> 0.2%"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
2,
"never",
["pascal-case", "upper-case"]
]
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"standard-version": {
"scripts": {
"postbump": "wp-update-project-version -p scss/style.scss && git add scss/style.scss"
}
}
}