Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (35 sloc) 2.39 KB
{
"private": true,
"devDependencies": {
"css": "^2.2.1",
"cssnano": "^3.10.0",
"npm-run-all": "^4.1.2",
"postcss-assets": "^5.0.0",
"postcss-cli": "^5.0.0",
"postcss-import": "^11.1.0",
"uglify-js": "^3.3.10"
},
"scripts": {
"postcss": "postcss --no-map -u postcss-import -u postcss-assets -u cssnano --cssnano.safe",
"postcss-patterns": "postcss --no-map -u postcss-import -u postcss-assets -u cssnano --cssnano.safe",
"build-css-patterns-common-delete": "rm -rf assets/_patternbot/common/*.min.css",
"build-css-patterns-common-copy": "for i in assets/_patternbot/common/*.css; do cp \"$i\" \"${i/.css/.min.css}\"; done",
"build-css-patterns-common-minify": "npm run postcss-patterns -- -d assets/_patternbot/common/ assets/_patternbot/common/*.min.css",
"build-css-patterns-common": "npm run build-css-patterns-common-delete && npm run build-css-patterns-common-copy && npm run build-css-patterns-common-minify",
"build-css-brand": "npm run postcss-patterns -- -o assets/_patternbot/patterns/brand/brand.min.css assets/_patternbot/patterns/brand/brand.css",
"build-css-type": "npm run postcss-patterns -- -o assets/_patternbot/patterns/typography/typography.min.css assets/_patternbot/patterns/typography/typography.css",
"build-css-grid": "npm run postcss-patterns -- -o assets/_patternbot/patterns/grid/grid.min.css assets/_patternbot/patterns/grid/grid.css",
"build-css-modules": "npm run postcss-patterns -- -o assets/_patternbot/patterns/modules/modules.min.css assets/_patternbot/patterns/modules/modules.css",
"build-css-utilities": "npm run postcss-patterns -- -o assets/_patternbot/patterns/utilities/utilities.min.css assets/_patternbot/patterns/utilities/utilities.css",
"build-css-icons": "npm run postcss-patterns -- -o assets/_patternbot/patterns/icons/icons.min.css assets/_patternbot/patterns/icons/icons.css",
"build-css-pattern-lib": "npm run postcss -- -o assets/_patternbot/ui/pattern-lib.min.css assets/_patternbot/ui/pattern-lib.css",
"build-css": "npm-run-all --parallel build-css-*",
"build-js-pattern-lib": "uglifyjs assets/_patternbot/ui/main.js -c -m --lint -o assets/_patternbot/ui/pattern-lib.min.js",
"build-js": "npm run build-js-pattern-lib",
"build": "npm run build-css && npm run build-js"
},
"repository": {
"type": "git",
"url": "https://github.com/thomasjbradley/jekyll_patternbot.git"
}
}
You can’t perform that action at this time.