Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | {
|
---|
| 2 | "name": "flatted",
|
---|
| 3 | "version": "2.0.2",
|
---|
| 4 | "description": "A super light and fast circular JSON parser.",
|
---|
| 5 | "unpkg": "min.js",
|
---|
| 6 | "main": "cjs/index.js",
|
---|
| 7 | "module": "esm/index.js",
|
---|
| 8 | "types": "types.d.ts",
|
---|
| 9 | "scripts": {
|
---|
| 10 | "bench": "node test/bench.js",
|
---|
| 11 | "build": "npm run cjs && npm test && npm run esm && npm run min && npm run size",
|
---|
| 12 | "cjs": "cp index.js cjs/index.js; echo 'module.exports = Flatted;' >> cjs/index.js",
|
---|
| 13 | "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",
|
---|
| 14 | "min": "echo '/*! (c) 2018, Andrea Giammarchi, (ISC) */'>min.js && uglifyjs index.js --support-ie8 -c -m >> min.js",
|
---|
| 15 | "size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;cat min.js | brotli | wc -c",
|
---|
| 16 | "coveralls": "nyc report --reporter=text-lcov | coveralls",
|
---|
| 17 | "test": "nyc node test/index.js"
|
---|
| 18 | },
|
---|
| 19 | "repository": {
|
---|
| 20 | "type": "git",
|
---|
| 21 | "url": "git+https://github.com/WebReflection/flatted.git"
|
---|
| 22 | },
|
---|
| 23 | "keywords": [
|
---|
| 24 | "circular",
|
---|
| 25 | "JSON",
|
---|
| 26 | "fast",
|
---|
| 27 | "parser",
|
---|
| 28 | "minimal"
|
---|
| 29 | ],
|
---|
| 30 | "author": "Andrea Giammarchi",
|
---|
| 31 | "license": "ISC",
|
---|
| 32 | "bugs": {
|
---|
| 33 | "url": "https://github.com/WebReflection/flatted/issues"
|
---|
| 34 | },
|
---|
| 35 | "homepage": "https://github.com/WebReflection/flatted#readme",
|
---|
| 36 | "devDependencies": {
|
---|
| 37 | "circular-json": "^0.5.9",
|
---|
| 38 | "circular-json-es6": "^2.0.2",
|
---|
| 39 | "coveralls": "^3.0.11",
|
---|
| 40 | "jsan": "^3.1.13",
|
---|
| 41 | "nyc": "^15.0.0",
|
---|
| 42 | "uglify-js": "^3.8.1"
|
---|
| 43 | }
|
---|
| 44 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.