Skip to content
Commits on Source (80)
......@@ -2,6 +2,7 @@ image: node:latest
stages:
- prepare
- build
- test
- release
......@@ -16,6 +17,13 @@ NPM:
- npm --version
- npm ci
Build:
stage: build
script:
- npm run --if-present build
- npm pack
- npm exec npm-pkg-lint
Prettier:
stage: test
script:
......
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
exec npx --no-install commitlint --edit "$1"
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
exec npx --no-install lint-staged
# @html-validate/prettier-config changelog
## [2.0.0](https://gitlab.com/html-validate/prettier-config/compare/v1.1.0...v2.0.0) (2021-06-27)
### ⚠ BREAKING CHANGES
- require NodeJS 12
### Features
- require NodeJS 12 ([113e541](https://gitlab.com/html-validate/prettier-config/commit/113e5419c8f8f7369492e9e190f17f388271cd7f))
# [1.1.0](https://gitlab.com/html-validate/prettier-config/compare/v1.0.1...v1.1.0) (2020-10-03)
### Features
......
This diff is collapsed.
{
"name": "@html-validate/prettier-config",
"version": "1.1.0",
"version": "2.0.0",
"description": "Prettier sharable config used by the various HTML-validate packages",
"homepage": "https://gitlab.com/html-validate/prettier-config#readme",
"author": "David Sveningsson <ext@sidvind.com>",
"license": "MIT",
"main": "index.js",
"keywords": [
"prettier"
],
"publishConfig": {
"access": "public"
"homepage": "https://gitlab.com/html-validate/prettier-config#readme",
"bugs": {
"url": "https://gitlab.com/html-validate/prettier-config/issues"
},
"repository": {
"type": "git",
"url": "https://gitlab.com/html-validate/prettier-config.git"
},
"bugs": {
"url": "https://gitlab.com/html-validate/prettier-config/issues"
},
"engines": {
"node": ">= 8.5"
},
"license": "MIT",
"author": "David Sveningsson <ext@sidvind.com>",
"main": "index.js",
"files": [
"*.js"
],
"scripts": {
"prettier:check": "prettier . --check",
"prettier:write": "prettier . --write",
"prepare": "husky install && git config commit.template ./node_modules/@html-validate/commitlint-config/gitmessage",
"prettier:check": "prettier --check .",
"prettier:write": "prettier --write .",
"semantic-release": "semantic-release",
"test": "echo \"Error: no test specified\" && exit 1"
},
"files": [
"*.js"
],
"commitlint": {
"extends": [
"@html-validate"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,md}": "prettier --write"
},
"prettier": ".",
"renovate": {
"extends": [
"@html-validate"
]
},
"release": {
"extends": "@html-validate/semantic-release-config"
"devDependencies": {
"@commitlint/cli": "12.1.4",
"@html-validate/commitlint-config": "1.3.1",
"@html-validate/semantic-release-config": "2.0.0",
"husky": "6.0.0",
"lint-staged": "11.0.0",
"npm-pkg-lint": "1.4.0",
"prettier": "2.3.1",
"semantic-release": "17.4.4"
},
"peerDependencies": {
"prettier": ">= 1 || >= 2"
},
"devDependencies": {
"@commitlint/cli": "11.0.0",
"@html-validate/commitlint-config": "1.0.3",
"@html-validate/semantic-release-config": "1.0.39",
"husky": "4.3.0",
"lint-staged": "10.4.0",
"prettier": "2.1.2",
"semantic-release": "17.1.2"
"engines": {
"node": ">= 12.0"
},
"publishConfig": {
"access": "public"
},
"release": {
"extends": "@html-validate/semantic-release-config"
},
"renovate": {
"extends": [
"@html-validate:proxy"
]
}
}