@gp-australia-pacific/gpap-frontend-functions
Version:
Supporting frontend library functions for GPAP web infra.
33 lines (32 loc) • 1.35 kB
JSON
{
"name": "@gp-australia-pacific/gpap-frontend-functions",
"repository": "github:greenpeace/gpap-frontend-functions",
"version": "1.1.8",
"description": "Supporting frontend library functions for GPAP web infra.",
"main": "src/index.js",
"unpkg": "dist/index.umd.min.js",
"files": [
"dist"
],
"scripts": {
"build:css": "cat src/*.css | npx postcss -o dist/gp-donate.css",
"build:js": "npx bili --format cjs --format esm --format umd --format umd-min --format iife --module-name donations src/index.js",
"build": "rm -rf dist && npm run build:js && npm run build:css",
"pub": "npm publish --access public && npm run docs:publish",
"docs:serve": "echo open http://localhost:4001 in just a moment… && documentation serve src/index.js --watch --sort-order alpha --config documentation.yml",
"docs:build": "documentation build src/index.js -f html -o docs --config documentation.yml",
"docs:publish": "yarn docs:build && gh-pages -d docs",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Peter Weltë",
"license": "SEE LICENSE IN LICENSE.txt",
"devDependencies": {
"autoprefixer": "^9.8.6",
"cssnano": "^4.1.10",
"doiuse": "^4.2.0",
"gh-pages": "^3.2.3",
"postcss-cli": "^7.1.1",
"postcss-flexbugs-fixes": "^4.2.1",
"uncss": "^0.17.3"
}
}