mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
1ada95e04a
- Convert project to Javascript/Typescript - Allow custom headers to be passed in (optional) - Allow body to be optional
45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
"name": "flatted",
|
|
"version": "2.0.2",
|
|
"description": "A super light and fast circular JSON parser.",
|
|
"unpkg": "min.js",
|
|
"main": "cjs/index.js",
|
|
"module": "esm/index.js",
|
|
"types": "types.d.ts",
|
|
"scripts": {
|
|
"bench": "node test/bench.js",
|
|
"build": "npm run cjs && npm test && npm run esm && npm run min && npm run size",
|
|
"cjs": "cp index.js cjs/index.js; echo 'module.exports = Flatted;' >> cjs/index.js",
|
|
"esm": "cp index.js esm/index.js; echo 'export default Flatted;' >> esm/index.js; echo 'export var parse = Flatted.parse;' >> esm/index.js; echo 'export var stringify = Flatted.stringify;' >> esm/index.js",
|
|
"min": "echo '/*! (c) 2018, Andrea Giammarchi, (ISC) */'>min.js && uglifyjs index.js --support-ie8 -c -m >> min.js",
|
|
"size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;cat min.js | brotli | wc -c",
|
|
"coveralls": "nyc report --reporter=text-lcov | coveralls",
|
|
"test": "nyc node test/index.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/WebReflection/flatted.git"
|
|
},
|
|
"keywords": [
|
|
"circular",
|
|
"JSON",
|
|
"fast",
|
|
"parser",
|
|
"minimal"
|
|
],
|
|
"author": "Andrea Giammarchi",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/WebReflection/flatted/issues"
|
|
},
|
|
"homepage": "https://github.com/WebReflection/flatted#readme",
|
|
"devDependencies": {
|
|
"circular-json": "^0.5.9",
|
|
"circular-json-es6": "^2.0.2",
|
|
"coveralls": "^3.0.11",
|
|
"jsan": "^3.1.13",
|
|
"nyc": "^15.0.0",
|
|
"uglify-js": "^3.8.1"
|
|
}
|
|
}
|