@16bits/nes.css
Version:
since NES.css hasn't be published for a long time. this pkg is published with using the latest develop branch to solve some issues
189 lines (188 loc) • 5.09 kB
JSON
{
"name": "@16bits/nes.css",
"version": "2.3.2",
"description": "since NES.css hasn't be published for a long time. this pkg is published with using the latest develop branch to solve some issues",
"scripts": {
"watch": "npm run build:sass -- --watch",
"// Build task": "",
"build": "run-p build:main build:core",
"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",
"postbuild": "npm run build:storybook",
"// For nes.css": "",
"build:sass": "node scripts/build.js",
"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 scripts/build.js --core",
"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"
},
"files": [
"css"
],
"repository": {
"type": "git",
"url": "https://github.com/nostalgic-css/NES.css.git"
},
"keywords": [
"css",
"scss",
"nes",
"framework"
],
"engines": {
"node": ">=10.0.0"
},
"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": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@semantic-release/exec": "^6.0.1",
"@storybook/addon-backgrounds": "^6.3.8",
"@storybook/addon-knobs": "^6.3.1",
"@storybook/html": "^6.3.8",
"autoprefixer": "^10.3.6",
"babel-loader": "^8.0.4",
"classnames": "^2.2.6",
"clean-css-cli": "^5.3.3",
"commitizen": "^4.2.4",
"css-loader": "^6.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.14.0",
"fibers": "^5.0.0",
"file-type": "^16.5.3",
"git-rev-sync": "^3.0.1",
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.8",
"postcss-cli": "^9.0.0",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"sass": "^1.42.1",
"sass-loader": "^12.1.0",
"semantic-release": "^18.0.0",
"style-loader": "^3.3.0",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recess-order": "^2.0.0",
"stylelint-config-standard": "^22.0.0",
"stylelint-prettier": "^1.0.5",
"stylelint-scss": "^3.3.1",
"url-loader": "^4.1.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"
}
},
"browserslist": [
"> 1%"
],
"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"
}
}
}