File: //opt/LC/node_modules/export-from-json/package.json
{
"name": "export-from-json",
"version": "1.7.4",
"description": "Export to txt, json, csv, xls, xml format file from valid JavaScript JSON object.",
"keywords": [
"json",
"csv",
"xls",
"xml",
"excel",
"typescript"
],
"type": "module",
"main": "dist/umd/index.js",
"module": "dist/esm/index.js",
"typings": "dist/types/index.d.ts",
"repository": "https://github.com/zheeeng/export-from-json",
"author": "Zheeeng",
"license": "MIT",
"files": [
"src",
"dist",
"example"
],
"exports": {
".": {
"require": "./dist/umd/index.js",
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"./package.json": "./package.json"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/node": "^20.4.4",
"husky": "^8.0.3",
"jest": "^29.6.1",
"rollup": "^4.0.0",
"rollup-plugin-typescript2": "^0.36.0",
"rollup-plugin-uglify": "^6.0.4",
"ts-jest": "^29.1.1",
"tslib": "^2.6.1",
"tslint": "^6.1.3",
"typescript": "^5.1.6"
},
"jest": {
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true
}
]
},
"testRegex": "/__tests__/.+\\.spec.ts$",
"moduleFileExtensions": [
"js",
"ts"
]
},
"scripts": {
"prebuild": "rm -rf dist",
"dev": "rollup -w -c ./config/rollup.config.js",
"build": "npm run build:esm && npm run build:es2015 && npm run build:umd",
"build:es2015": "tsc -p ./config/tsconfig.es2015.json",
"build:esm": "tsc -p ./config/tsconfig.esm.json",
"build:umd": "rollup -c ./config/rollup.config.js --bundleConfigAsCjs",
"test": "npm run test:lint && npm run test:spec",
"test:spec": "jest",
"test:update": "jest --updateSnapshot",
"test:lint": "tslint -p ./tsconfig.json",
"test:manual": "npm test && npm run build && open example/index.html",
"precommit": "npm test",
"prepush": "npm test",
"release": "npm version patch && npm publish"
}
}