2018-09-24 13:35:33 +09:00
{
2018-11-26 17:16:07 +09:00
"name" : "nes.css" ,
2018-11-25 18:11:18 +09:00
"version" : "0.0.2" ,
2018-09-24 13:35:33 +09:00
"description" : "NES.css is NES-style CSS Framework." ,
"scripts" : {
2018-09-24 20:30:07 +09:00
"watch" : "npm run build:sass -- --watch" ,
2018-12-04 13:55:52 +02:00
"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" ,
2018-09-24 13:35:33 +09:00
"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" ,
2018-12-04 13:55:52 +02:00
"deploy" : "npm run build" ,
"storybook" : "start-storybook -p 6006" ,
2018-12-05 08:41:46 +02:00
"build:storybook" : "build-storybook"
2018-09-24 13:35:33 +09:00
} ,
"repository" : {
"type" : "git" ,
"url" : "git+https://github.com/BcRikko/NES.css.git"
} ,
"keywords" : [
"css" ,
"scss" ,
"nes" ,
"framework"
] ,
"author" : "BcRikko (https://github.com/Bcrikko)" ,
"license" : "MIT" ,
"bugs" : {
"url" : "https://github.com/BcRikko/NES.css/issues"
} ,
"homepage" : "https://github.com/BcRikko/NES.css#readme" ,
"devDependencies" : {
2018-12-04 19:30:42 +02:00
"@storybook/addon-knobs" : "^4.0.11" ,
2018-12-04 13:55:52 +02:00
"@storybook/html" : "^4.0.11" ,
2018-09-24 13:35:33 +09:00
"autoprefixer" : "^9.1.5" ,
2018-12-04 19:30:42 +02:00
"babel-loader" : "^8.0.4" ,
2018-09-24 13:35:33 +09:00
"clean-css-cli" : "^4.2.1" ,
2018-12-04 13:55:52 +02:00
"eslint" : "^5.9.0" ,
"eslint-config-airbnb-base" : "^13.1.0" ,
"eslint-plugin-import" : "^2.14.0" ,
2018-09-26 11:35:56 +09:00
"husky" : "^1.0.0" ,
2018-09-24 13:35:33 +09:00
"lint-staged" : "^7.3.0" ,
"node-sass" : "^4.9.3" ,
"postcss-cli" : "^6.0.0" ,
2018-11-26 21:59:11 +09:00
"prettier" : "^1.15.2" ,
2018-09-24 13:35:33 +09:00
"rimraf" : "^2.6.2" ,
"stylelint" : "^9.5.0" ,
2018-11-26 21:59:11 +09:00
"stylelint-config-prettier" : "^4.0.0" ,
2018-09-24 13:35:33 +09:00
"stylelint-config-recess-order" : "^2.0.0" ,
"stylelint-config-standard" : "^18.2.0" ,
2018-11-26 21:59:11 +09:00
"stylelint-prettier" : "^1.0.5" ,
2018-09-24 13:35:33 +09:00
"stylelint-scss" : "^3.3.1"
} ,
"browserslist" : [
"> 1%"
] ,
"husky" : {
"hooks" : {
"pre-commit" : "lint-staged"
}
2018-09-24 20:30:07 +09:00
} ,
2018-09-25 19:46:28 +09:00
"lint-staged" : {
"scss/**/*.scss" : [
"npm run build" ,
2018-09-25 20:09:07 +09:00
"git add ./css" ,
"git add"
2018-12-04 17:13:03 +02:00
] ,
2018-12-04 19:30:42 +02:00
"*.js" : [
"eslint ." ,
"git add"
]
2018-09-25 19:46:28 +09:00
} ,
2018-11-26 09:01:32 +09:00
"prettier" : {
"printWidth" : 100
} ,
2018-09-24 20:30:07 +09:00
"stylelint" : {
"plugins" : [
2018-11-26 21:59:11 +09:00
"stylelint-scss" ,
"stylelint-prettier"
2018-09-24 20:30:07 +09:00
] ,
"extends" : [
"stylelint-config-standard" ,
"stylelint-config-recess-order" ,
2018-11-26 21:59:11 +09:00
"stylelint-prettier/recommended"
2018-09-24 20:30:07 +09:00
] ,
"rules" : {
2018-11-26 21:59:11 +09:00
"prettier/prettier" : true ,
2018-09-24 20:30:07 +09:00
"string-quotes" : "double" ,
"at-rule-no-unknown" : null ,
"scss/at-rule-no-unknown" : true
}
2018-12-05 08:41:46 +02:00
} ,
"eslintConfig" : {
"extends" : "airbnb-base"
2018-09-24 13:35:33 +09:00
}
}