You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
5.6 KiB
JSON
105 lines
5.6 KiB
JSON
{
|
|
"name": "@picocss/pico",
|
|
"version": "1.5.9",
|
|
"description": "Minimal CSS Framework for semantic HTML",
|
|
"author": "Lucas Larroche",
|
|
"main": "css/pico.min.css",
|
|
"homepage": "https://picocss.com",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/picocss/pico.git"
|
|
},
|
|
"keywords": [
|
|
"css",
|
|
"css-framework",
|
|
"dark-mode",
|
|
"dark-theme",
|
|
"lightweight",
|
|
"minimal",
|
|
"minimalist",
|
|
"minimalistic",
|
|
"native-html",
|
|
"scss-framework",
|
|
"semantic"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/picocss/pico/issues"
|
|
},
|
|
"scripts": {
|
|
"watch": "npm-run-all --parallel watch:pico watch:docs:scss watch:docs:html watch:docs:js --silent",
|
|
"build": "npm-run-all scss:sorter:pico build:pico scss:sorter:docs build:docs:css build:docs:js build:docs:html --silent",
|
|
|
|
"build:docs": "npm-run-all --parallel build:docs:css build:docs:js build:docs:html --silent",
|
|
"build:docs:css": "npm-run-all css:compile:docs css:prefix:docs css:minify:docs --silent",
|
|
"build:docs:html": "npm-run-all htmlincludes:docs --silent",
|
|
"build:docs:js": "npm-run-all js:bundle:docs:commons js:bundle:docs:customization js:babel:docs:commons js:babel:docs:customization js:babel:docs:grid js:babel:docs:modal js:minify:docs:commons js:minify:docs:customization js:minify:docs:grid js:minify:docs:modal --silent",
|
|
"build:pico": "npm-run-all css:compile:pico css:prefix:pico css:minify:pico --silent",
|
|
|
|
"css:compile:docs": "sass --style expanded --source-map --embed-sources --no-error-css docs/scss/:docs/css/",
|
|
"css:compile:pico": "sass --style expanded --source-map --embed-sources --no-error-css scss/:css/",
|
|
"css:minify:docs": "cleancss -O1 --with-rebase --source-map --source-map-inline-sources --batch --batch-suffix .min docs/css/*.css !docs/css/*.min.css",
|
|
"css:minify:pico": "cleancss -O1 --with-rebase --source-map --source-map-inline-sources --batch --batch-suffix .min css/*.css css/*/*.css !css/*.min.css !css/*/*.min.css",
|
|
"css:prefix:docs": "postcss --config css --replace docs/css/*.css !docs/css/*.min.css",
|
|
"css:prefix:pico": "postcss --config css --replace css/*.css css/*/*.css !css/*.min.css",
|
|
|
|
"htmlincludes:docs": "html-includes --src docs/src --dest docs --minify minifyJS=true --quiet",
|
|
|
|
"js:babel:docs:commons": "babel docs/js/commons.min.js --out-dir docs/js/ --presets=@babel/preset-env --quiet",
|
|
"js:babel:docs:customization": "babel docs/js/customization.min.js --out-dir docs/js/ --presets=@babel/preset-env --quiet",
|
|
"js:babel:docs:grid": "babel docs/js/grid.js --out-file docs/js/grid.min.js --presets=@babel/preset-env --quiet",
|
|
"js:babel:docs:modal": "babel docs/js/modal.js --out-file docs/js/modal.min.js --presets=@babel/preset-env --quiet",
|
|
"js:bundle:docs:commons": "rollup docs/js/commons.js --file docs/js/commons.min.js --format iife --silent",
|
|
"js:bundle:docs:customization": "rollup docs/js/customization.js --file docs/js/customization.min.js --format iife --silent",
|
|
"js:minify:docs:commons": "uglifyjs docs/js/commons.min.js --compress --mangle --output docs/js/commons.min.js",
|
|
"js:minify:docs:customization": "uglifyjs docs/js/customization.min.js --compress --mangle --output docs/js/customization.min.js",
|
|
"js:minify:docs:grid": "uglifyjs docs/js/grid.min.js --compress --mangle --output docs/js/grid.min.js",
|
|
"js:minify:docs:modal": "uglifyjs docs/js/modal.min.js --compress --mangle --output docs/js/modal.min.js",
|
|
|
|
"scss:sorter:docs": "postcss --config scss ./docs/scss/**/*.scss --replace",
|
|
"scss:sorter:pico": "postcss --config scss ./scss/**/*.scss --replace",
|
|
|
|
"prebuild:docs:html": "echo '[@picocss/pico] Create documentation pages'",
|
|
"prebuild:docs:js": "echo '[@picocss/pico] Bundle and minify documentation .js files'",
|
|
"precss:compile:docs": "echo '[@picocss/pico] Compile documentation .css file'",
|
|
"precss:compile:pico": "echo '[@picocss/pico] Compile Pico .css files'",
|
|
"precss:minify:docs": "echo '[@picocss/pico] Minify documentation .css file'",
|
|
"precss:minify:pico": "echo '[@picocss/pico] Minify Pico .css files'",
|
|
"prescss:sorter:docs": "echo '[@picocss/pico] Order documentation .scss properties'",
|
|
"prescss:sorter:pico": "echo '[@picocss/pico] Order Pico .scss properties'",
|
|
|
|
"postbuild:docs:css": "echo '\\033[32m[@picocss/pico] Documentation .css build done\\033[0m'",
|
|
"postbuild:docs:html": "echo '\\033[32m[@picocss/pico] Documentation pages done\\033[0m'",
|
|
"postbuild:docs:js": "echo '\\033[32m[@picocss/pico] Documentation .js build done\\033[0m'",
|
|
"postbuild:pico": "echo '\\033[32m[@picocss/pico] Pico library build done\\033[0m'",
|
|
|
|
"watch:docs:html": "nodemon --watch docs/src/ --ext html --exec 'npm run build:docs:html'",
|
|
"watch:docs:js": "nodemon --watch docs/js/ --ext js --ignore *.min.js --exec 'npm run build:docs:js'",
|
|
"watch:docs:scss": "nodemon --watch docs/scss/ --ext scss --exec 'npm run build:docs:css'",
|
|
"watch:pico": "nodemon --watch scss/ --ext scss --exec 'npm run build:pico'"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.21.0",
|
|
"@babel/core": "^7.21.4",
|
|
"@babel/preset-env": "^7.21.4",
|
|
"autoprefixer": "^10.4.14",
|
|
"caniuse-lite": "1.0.30001476",
|
|
"clean-css-cli": "^5.6.2",
|
|
"css-declaration-sorter": "^6.4.0",
|
|
"html-includes": "^4.4.1",
|
|
"nodemon": "^2.0.22",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.4.21",
|
|
"postcss-cli": "^10.1.0",
|
|
"postcss-scss": "^4.0.6",
|
|
"rollup": "^3.20.2",
|
|
"sass": "^1.61.0",
|
|
"uglify-js": "^3.17.4"
|
|
},
|
|
"browserslist": [
|
|
">= 0.5%",
|
|
"last 2 major versions",
|
|
"not dead",
|
|
"not ie > 0"
|
|
]
|
|
} |