UNPKG

formsquare

Version:

Serialize html5 forms the smart way

104 lines (103 loc) 2.7 kB
{ "name": "formsquare", "version": "1.0.0-beta.3", "description": "Serialize html5 forms the smart way", "keywords": [ "form", "serialize", "html", "json" ], "main": "dist/cjs/formsquare.js", "unpkg": "dist/iife/formsquare.js", "module": "dist/module/formsquare.js", "repository": { "type": "git", "url": "https://github.com/runarberg/formsquare.git" }, "scripts": { "build": "NODE_ENV=production rollup -c && npm run type:defs", "clean": "rm -fr .nyc_output coverage dist", "compress": "gzip -fk -9 dist/iife/*.js && bzip2 -fk -9 dist/iife/*.js", "dist": "npm run minify && npm run compress", "lint": "eslint --ignore-path .ignore .", "minify": "minify dist/iife/formsquare.js --mangle -o dist/iife/formsquare.min.js", "prepare": "npm run build && npm run dist", "pretty": "prettier --write --ignore-path .ignore **/*.{js,json}", "test": "NODE_ENV=test nyc ava", "test:report": "nyc report --reporter html", "type": "flow", "type:defs": "cp src/module.js \"$npm_package_main.flow\" && cp src/module.js \"$npm_package_module.flow\" && cp src/module.js \"$npm_package_unpkg.flow\"" }, "author": "Rúnar Berg Baugsson Sigríðarson <runarberg@zoho.com>", "license": "MIT", "ava": { "files": [ "test/**/*.js", "**/test.js", "**/*.test.js", "!**/utils.js", "!dist/**/*" ], "require": [ "@babel/register" ] }, "babel": { "env": { "test": { "sourceMaps": "inline", "presets": [ "@babel/preset-flow", [ "@babel/preset-env", { "targets": { "node": "current" } } ] ] } } }, "nyc": { "exclude": [ "test/**/*.js", "**/test.js", "**/*.test.js", "lib", "dist" ], "reporter": [ "text", "text-summary" ] }, "prettier": { "trailingComma": "all" }, "devDependencies": { "@babel/core": "^7.9.0", "@babel/preset-env": "^7.9.0", "@babel/preset-flow": "^7.9.0", "@babel/register": "^7.9.0", "ava": "^3.5.2", "babel-eslint": "^10.1.0", "babel-minify": "^0.5.1", "browser-env": "^3.3.0", "coveralls": "^3.0.11", "eslint": "^6.8.0", "eslint-config-airbnb-base": "^14.1.0", "eslint-config-prettier": "^6.10.1", "eslint-plugin-ava": "^10.2.0", "eslint-plugin-import": "^2.20.2", "eslint-plugin-prettier": "^3.1.2", "flow-bin": "^0.121.0", "nyc": "^15.0.0", "prettier": "2.0.2", "rollup": "^2.3.2", "rollup-plugin-babel": "^4.4.0" }, "dependencies": {} }