mirror of
https://github.com/carloscuesta/gitmoji.git
synced 2025-12-08 20:14:12 +00:00
Add a jsonlint to validate gitmojis.json against a JSON Schema. This will ensure that the JSON file is well structured and with all the required fields, update package.json script to add jsonvalidate script.
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "gitmoji",
|
|
"version": "1.0.0",
|
|
"description": "An emoji guide for your commit messages",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"jsonvalidate": "jsonlint ./src/data/gitmojis.json -V ./src/data/schema.json",
|
|
"test": "npm run jsonvalidate && gulp test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/carloscuesta/gitmoji.git"
|
|
},
|
|
"author": "Carlos Cuesta",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/carloscuesta/gitmoji/issues"
|
|
},
|
|
"pugLintConfig": {
|
|
"disallowHtmlText": true,
|
|
"disallowDuplicateAttributes": true,
|
|
"disallowClassAttributeWithStaticValue": true,
|
|
"disallowIdAttributeWithStaticValue": true,
|
|
"requireLowerCaseAttributes": true
|
|
},
|
|
"homepage": "https://github.com/carloscuesta/gitmoji#readme",
|
|
"dependencies": {
|
|
"babel-core": "^6.18.0",
|
|
"babel-preset-es2015": "^6.18.0",
|
|
"gulp": "^3.9.1",
|
|
"gulp-plumber": "^1.1.0",
|
|
"gulp-pug": "^3.1.0",
|
|
"gulp-pug-lint": "^0.1.6",
|
|
"gulp-sass": "^2.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"browser-sync": "^2.17.5",
|
|
"gulp-gh-pages": "^0.5.4"
|
|
}
|
|
}
|