{ "name": "nes.css", "description": "NES.css is NES-style CSS Framework.", "scripts": { "watch": "npm run build:sass -- --watch", "// Build task": "", "build": "run-p build:core build:main", "build:core": "npm run build:sass-core && npm run build:autoprefix-core && npm run build:cleancss-core", "build:main": "npm run build:sass && npm run build:autoprefix && npm run build:cleancss", "prebuild": "run-p prebuild:*", "prebuild:stylelint": "npm run stylelint -- --fix", "prebuild:clean": "rimraf css", "postbuild": "npm run build:storybook", "// For nes.css": "", "build:sass": "node-sass --output-style expanded --source-map true --functions scripts/scssFunctions.js 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", "// For nes-core.css": "", "build:sass-core": "node-sass --output-style expanded --source-map true --functions scripts/scssFunctions.js scss/nes-core.scss css/nes-core.css", "build:autoprefix-core": "postcss --use autoprefixer --map false --output css/nes-core.css css/nes-core.css", "build:cleancss-core": "cleancss -o css/nes-core.min.css css/nes-core.css", "// Misc": "", "stylelint": "stylelint scss/**/*.scss", "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" ], "engines": { "node": "10.x" }, "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", "@semantic-release/exec": "^3.3.0", "@storybook/addon-backgrounds": "^5.0.11", "@storybook/addon-knobs": "^5.0.11", "@storybook/html": "^5.0.0", "autoprefixer": "^9.1.5", "babel-loader": "^8.0.4", "classnames": "^2.2.6", "clean-css-cli": "^4.2.1", "commitizen": "^3.1.1", "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-type": "^11.0.0", "git-rev-sync": "^1.12.0", "husky": "^1.0.0", "lint-staged": "^7.3.0", "node-sass": "^4.12.0", "npm-run-all": "^4.1.5", "postcss-cli": "^6.0.0", "prettier": "^1.15.2", "rimraf": "^2.6.2", "sass-loader": "^7.1.0", "semantic-release": "^15.13.14", "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", "url-loader": "^1.1.2" }, "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 prebuild:stylelint", "npm run postbuild", "git add" ], "*.js": [ "eslint '.storybook/**/*.js' 'story/**/*.js'" ] }, "prettier": { "printWidth": 100 }, "release": { "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/npm", "@semantic-release/github", [ "@semantic-release/exec", { "prepareCmd": "./scripts/updatePackageHeader.js ${nextRelease.version}" } ] ] }, "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 }, "ignoreFiles": [ "docs/*" ] }, "eslintConfig": { "extends": "airbnb-base", "rules": { "import/no-extraneous-dependencies": [ "error", { "devDependencies": [ "**/*.stories.js", "**/*.template.js" ] } ] } }, "eslintIgnore": [ "docs/*" ], "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }