milligram/package.json
2020-05-17 21:55:07 -03:00

82 lines
2.2 KiB
JSON

{
"name": "milligram",
"version": "1.3.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": "5.0.0"
},
"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.2",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.1",
"onchange": "^7.0.2",
"postcss-cli": "^7.1.1",
"prettier-standard": "^16.3.0",
"rimraf": "^3.0.2",
"sass-lint": "^1.12.1"
},
"engines": {
"node": "^12.16.2",
"npm": "^6.14.4"
},
"scripts": {
"start": "run-p build watch serve",
"build": "run-s clean sass autoprefixer banner",
"clean": "rimraf dist",
"sass": "node-sass --output-style expanded src/milligram.sass dist/milligram.css && node-sass --output-style compressed src/milligram.sass dist/milligram.min.css",
"autoprefixer": "postcss -u autoprefixer --no-map.inline --autoprefixer.browsers \"last 1 versions\" -r dist/*.css",
"banner": "banner-cli dist/*.css",
"watch": "onchange src -- run-p build",
"serve": "browser-sync start --no-notify -s test --ss dist -f dist",
"visual-regression": "run-s build && run-p serve visual-regression:compare",
"visual-regression:reference": "backstop reference --config backstop.config.js",
"visual-regression:compare": "backstop test --config backstop.config.js",
"lint": "prettier-standard --check && sass-lint --verbose --no-exit",
"prepublish": "run-s build",
"test": "npm run build && nyc ava"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*": [
"prettier-standard --format",
"git add"
]
}
}