forked from zheeeng/export-from-json
/
package.json
94 lines (94 loc) · 2.41 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "@josmun55/json-export-to-csv-excel",
"version": "1.7.5",
"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": {
"type": "git",
"url": "https://github.com/Josmun55/json-export-to-csv-excel.git"
},
"author": "Zheeeng",
"license": "MIT",
"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",
"prepublishOnly": "npm run build",
"release": "npm version patch && npm publish"
},
"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": "^9.0.1",
"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"
]
},
"bugs": {
"url": "https://github.com/zheeeng/export-from-json/issues"
},
"homepage": "https://github.com/Josmun55/json-export-to-csv-excel#readme",
"directories": {
"example": "example"
}
}