milligram/package.json
2020-06-12 09:48:13 -03:00

81 lines
2.2 KiB
JSON

{
"name": "milligram",
"version": "1.4.0",
"description": "A minimalist CSS framework.",
"homepage": "https://milligram.io",
"repository": "milligram/milligram",
"license": "MIT",
"author": "CJ Patoilo <cjpatoilo@gmail.com>",
"main": "dist/milligram.css",
"keywords": [
"bootstrap",
"css",
"css3",
"flexbox",
"front-end",
"framework",
"html",
"html5",
"kickstarter",
"less",
"responsive",
"mobile",
"mobile-first",
"postcss",
"responsive",
"sass",
"scss",
"stylus"
],
"dependencies": {
"normalize.css": "~8.0.1"
},
"devDependencies": {
"autoprefixer": "^9.6.1",
"ava": "^3.8.2",
"backstopjs": "3.8.8",
"banner-cli": "^0.14.1",
"browser-sync": "^2.18.5",
"husky": "^4.2.5",
"lint-staged": "^10.2.7",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"onchange": "^7.0.2",
"postcss-cli": "^7.1.1",
"prettier-standard": "^16.3.0",
"rimraf": "^3.0.2",
"sass-lint": "^1.12.1"
},
"scripts": {
"autoprefixer": "postcss -u autoprefixer --no-map.inline --autoprefixer.browsers \"last 1 versions\" -r dist/*.css",
"banner": "banner-cli dist/*.css",
"build": "rimraf dist && run-s sass autoprefixer banner",
"lint": "prettier-standard --check && sass-lint --verbose --no-exit",
"prepublishOnly": "npm run build",
"sass": "node-sass --output-style expanded src/milligram.sass dist/milligram.css && node-sass --output-style compressed src/milligram.sass dist/milligram.min.css",
"serve": "browser-sync start --no-notify -s test --ss dist -f dist",
"start": "run-p build watch serve",
"test": "npm run build && nyc ava",
"visual-regression": "run-p serve visual-regression:compare",
"visual-regression:compare": "run-s build && backstop test --config backstop.config.js",
"visual-regression:reference": "run-s build && backstop reference --config backstop.config.js",
"watch": "onchange src -- run-p build"
},
"prettier": {
"jsxSingleQuote": false,
"trailingComma": "all"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*": [
"prettier-standard --format",
"git add"
]
}
}