@_nu/cli
Version:
🛠️ Standard Tooling for nu-system component development
72 lines (71 loc) • 1.93 kB
JSON
{
"name": "@_nu/css-<%= componentName %>",
"version": "0.0.1",
"description": "CSS <%= componentName %>",
"homepage": "https://github.com/nu-system/css-<%= componentName %>",
"bugs": {
"url": "https://github.com/nu-system/css-<%= componentName %>/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:nu-system/css-<%= componentName %>.git"
},
"author": "<%= author %>",
"license": "MIT",
"browserslist": [
"> 1%",
"last 2 versions"
],
"main": "lib/index.css",
"files": <%- pkgFiles %>,
"keywords": [
"!ui",
"nu-system",
"css-<%= componentName %>",
"<%= componentName %>",
"css"
],
"scripts": {
"start": "gulp",
"build": "gulp build",
"commit": "git add . && git cz",
"pub": "npm publish --access public",
"log": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"commitizenInit": "commitizen init cz-conventional-changelog --yarn --dev --exact",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,css,md,json}'",
"prepublishOnly": "npm run build && npm run log && npm run cz && git push"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,json,md,less,css}": [
"prettier --write",
"git add ."
]
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"cli": "^1.0.1",
"commitizen": "^4.0.3",
"conventional-changelog-cli": "^2.0.23",
"cz-conventional-changelog": "3.0.2",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^7.0.1",
"gulp-connect": "^5.7.0",
"gulp-csso": "^4.0.1",
"gulp-less": "^4.0.1",
"husky": "^4.2.5",
"lint-staged": "^10.1.3",
"prettier": "^1.19.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}