mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-02-19 14:54:47 +01:00
134 lines
3.5 KiB
JSON
134 lines
3.5 KiB
JSON
{
|
|
"name": "nes.css",
|
|
"version": "0.0.0-development",
|
|
"description": "NES.css is NES-style CSS Framework.",
|
|
"scripts": {
|
|
"watch": "npm run build:sass -- --watch",
|
|
"build": "npm run build:clean && npm run build:stylelint && npm run build:sass && npm run build:autoprefix && npm run build:cleancss && npm run build:storybook",
|
|
"stylelint": "stylelint scss/**/*.scss",
|
|
"build:stylelint": "npm run stylelint -- --fix",
|
|
"build:clean": "rimraf css",
|
|
"build:sass": "node-sass --output-style expanded --source-map true scss/nes.scss css/nes.css",
|
|
"build:autoprefix": "postcss --use autoprefixer --map false --output css/nes.css css/nes.css",
|
|
"build:cleancss": "cleancss -o css/nes.min.css css/nes.css",
|
|
"storybook": "start-storybook -p 6006",
|
|
"build:storybook": "build-storybook",
|
|
"deploy": "npm run build",
|
|
"semantic-release": "semantic-release",
|
|
"commit": "git-cz",
|
|
"commit:retry": "git-cz --retry",
|
|
"commitmsg": "commitlint -e"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/nostalgic-css/NES.css.git"
|
|
},
|
|
"keywords": [
|
|
"css",
|
|
"scss",
|
|
"nes",
|
|
"framework"
|
|
],
|
|
"author": "BcRikko (https://github.com/Bcrikko)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/nostalgic-css/NES.css/issues"
|
|
},
|
|
"homepage": "https://github.com/nostalgic-css/NES.css#readme",
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^7.2.1",
|
|
"@commitlint/config-conventional": "^7.1.2",
|
|
"@storybook/addon-knobs": "^4.0.11",
|
|
"@storybook/html": "^4.0.11",
|
|
"autoprefixer": "^9.1.5",
|
|
"babel-loader": "^8.0.4",
|
|
"clean-css-cli": "^4.2.1",
|
|
"commitizen": "^3.0.5",
|
|
"css-loader": "^2.0.0",
|
|
"cz-conventional-changelog": "^2.1.0",
|
|
"eslint": "^5.9.0",
|
|
"eslint-config-airbnb-base": "^13.1.0",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"file-loader": "^2.0.0",
|
|
"husky": "^1.0.0",
|
|
"lint-staged": "^7.3.0",
|
|
"node-sass": "^4.9.3",
|
|
"postcss-cli": "^6.0.0",
|
|
"prettier": "^1.15.2",
|
|
"rimraf": "^2.6.2",
|
|
"sass-loader": "^7.1.0",
|
|
"semantic-release": "^15.12.3",
|
|
"style-loader": "^0.23.1",
|
|
"stylelint": "^9.5.0",
|
|
"stylelint-config-prettier": "^4.0.0",
|
|
"stylelint-config-recess-order": "^2.0.0",
|
|
"stylelint-config-standard": "^18.2.0",
|
|
"stylelint-prettier": "^1.0.5",
|
|
"stylelint-scss": "^3.3.1"
|
|
},
|
|
"browserslist": [
|
|
"> 1%"
|
|
],
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
],
|
|
"rules": {
|
|
"subject-case": [
|
|
0,
|
|
"never",
|
|
"sentence-case"
|
|
],
|
|
"subject-full-stop": [
|
|
0,
|
|
"never",
|
|
"."
|
|
]
|
|
}
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"scss/**/*.scss": [
|
|
"npm run build",
|
|
"git add"
|
|
],
|
|
"*.js": [
|
|
"eslint '.storybook/**/*.js' 'docs/**/*.js'",
|
|
"git add"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"printWidth": 100
|
|
},
|
|
"stylelint": {
|
|
"plugins": [
|
|
"stylelint-scss",
|
|
"stylelint-prettier"
|
|
],
|
|
"extends": [
|
|
"stylelint-config-standard",
|
|
"stylelint-config-recess-order",
|
|
"stylelint-prettier/recommended"
|
|
],
|
|
"rules": {
|
|
"prettier/prettier": true,
|
|
"string-quotes": "double",
|
|
"at-rule-no-unknown": null,
|
|
"scss/at-rule-no-unknown": true
|
|
}
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "airbnb-base"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
}
|
|
}
|