[79a0317] | 1 | {
|
---|
| 2 | "name": "@discoveryjs/json-ext",
|
---|
| 3 | "version": "0.6.3",
|
---|
| 4 | "description": "A set of utilities that extend the use of JSON",
|
---|
| 5 | "keywords": [
|
---|
| 6 | "json",
|
---|
| 7 | "utils",
|
---|
| 8 | "stream",
|
---|
| 9 | "async",
|
---|
| 10 | "promise",
|
---|
| 11 | "stringify",
|
---|
| 12 | "info"
|
---|
| 13 | ],
|
---|
| 14 | "author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",
|
---|
| 15 | "license": "MIT",
|
---|
| 16 | "repository": {
|
---|
| 17 | "type": "git",
|
---|
| 18 | "url": "git+https://github.com/discoveryjs/json-ext.git"
|
---|
| 19 | },
|
---|
| 20 | "engines": {
|
---|
| 21 | "node": ">=14.17.0"
|
---|
| 22 | },
|
---|
| 23 | "type": "module",
|
---|
| 24 | "main": "./cjs/index.cjs",
|
---|
| 25 | "module": "./src/index.js",
|
---|
| 26 | "types": "./index.d.ts",
|
---|
| 27 | "exports": {
|
---|
| 28 | ".": {
|
---|
| 29 | "types": "./index.d.ts",
|
---|
| 30 | "require": "./cjs/index.cjs",
|
---|
| 31 | "import": "./src/index.js"
|
---|
| 32 | },
|
---|
| 33 | "./dist/*": "./dist/*",
|
---|
| 34 | "./package.json": "./package.json"
|
---|
| 35 | },
|
---|
| 36 | "scripts": {
|
---|
| 37 | "test": "npm run test:src",
|
---|
| 38 | "lint": "eslint src",
|
---|
| 39 | "lint-and-test": "npm run lint && npm test",
|
---|
| 40 | "bundle": "node scripts/bundle.js",
|
---|
| 41 | "transpile": "node scripts/transpile.cjs",
|
---|
| 42 | "test:all": "npm run test:src && npm run test:cjs && npm run test:dist && npm run test:e2e",
|
---|
| 43 | "test:src": "mocha --reporter progress src/*.test.js",
|
---|
| 44 | "test:cjs": "mocha --reporter progress cjs/*.test.cjs",
|
---|
| 45 | "test:e2e": "mocha --reporter progress test-e2e",
|
---|
| 46 | "test:dist": "mocha --reporter progress dist/test",
|
---|
| 47 | "test:deno": "node scripts/deno-adapt-test.js && mocha --reporter progress deno-tests/*.test.js",
|
---|
| 48 | "bundle-and-test": "npm run bundle && npm run test:dist",
|
---|
| 49 | "coverage": "c8 --reporter=lcovonly npm test",
|
---|
| 50 | "prepublishOnly": "npm run lint && npm run bundle && npm run transpile && npm run test:all"
|
---|
| 51 | },
|
---|
| 52 | "devDependencies": {
|
---|
| 53 | "c8": "^7.10.0",
|
---|
| 54 | "chalk": "^4.1.0",
|
---|
| 55 | "esbuild": "^0.24.0",
|
---|
| 56 | "eslint": "^8.57.0",
|
---|
| 57 | "mocha": "^9.2.2",
|
---|
| 58 | "rollup": "^2.79.2"
|
---|
| 59 | },
|
---|
| 60 | "files": [
|
---|
| 61 | "cjs",
|
---|
| 62 | "!cjs/*{.test,-cases}.cjs",
|
---|
| 63 | "dist",
|
---|
| 64 | "src",
|
---|
| 65 | "!src/*{.test,-cases}.js",
|
---|
| 66 | "index.d.ts"
|
---|
| 67 | ]
|
---|
| 68 | }
|
---|