-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
91 lines (91 loc) · 3.39 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
{
"name": "journalism",
"version": "1.0.6",
"description": "Helper functions for journalism projects.",
"homepage": "https://github.com/nshiab/journalism#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/nshiab/journalism.git"
},
"keywords": [
"journalism",
"javascript",
"typescript"
],
"license": "MIT",
"author": {
"name": "Nael Shiab",
"email": "[email protected]",
"url": "http://naelshiab.com"
},
"type": "module",
"files": [
"dist/",
"src/"
],
"main": "dist/index.js",
"module": "dist/index.js",
"browser": "./dist/bundle.js",
"jsdelivr": "dist/journalism.min.js",
"unpkg": "dist/journalism.min.js",
"exports": {
"bun": "./src/index.js",
"node": "./dist/index.js",
"browser": "./dist/bundle.js",
"umd": "./dist/journalism.min.js",
"default": "./src/index.js"
},
"scripts": {
"test": "npx mocha \"test/**/*.test.ts\" --timeout 5000",
"build": "rm -rf dist && npx tsc && npx rollup --config",
"all-tests": "npm run format && npm run lint && npm run test && npm run build && npm run test-doc",
"rollup": "npx rollup --config",
"doc": "npx typedoc --name Journalism --includeVersion --readme none --out docs src/index.ts",
"test-doc": "npx typedoc --name Journalism --includeVersion --readme none --out ./test-docs src/index.ts",
"update-doc": "npm run doc && git add -A && git commit -m 'Updating doc' && git push",
"publish-patch": "npm run all-tests && npm version patch && npm run update-doc && npm publish",
"publish-minor": "npm run all-tests && npm version minor && npm run update-doc && npm publish",
"publish-major": "npm run all-tests && npm version major && npm run update-doc && npm publish",
"publish-prerelease": "npm run all-tests && npm version prerelease --preid rc && npm run build && npm run update-doc && npm publish --tag next",
"lint": "npx eslint . --ext .ts",
"format": "npx prettier --ignore-path .prettierignore --write './**/*.ts'",
"check-format": "npx prettier --ignore-path .prettierignore --check './**/*.ts'"
},
"engines": {
"node": ">=18.0"
},
"bugs": {
"url": "https://github.com/nshiab/journalism/issues"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.1",
"@types/adm-zip": "^0.5.5",
"@types/d3-array": "^3.0.5",
"@types/d3-dsv": "^3.0.7",
"@types/mocha": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^6.8.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^9.0.0",
"mocha": "^10.2.0",
"prettier": "^3.0.3",
"puppeteer": "^22.4.1",
"rollup": "^4.9.4",
"rollup-plugin-visualizer": "^5.9.0",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typedoc": "^0.25.2",
"typescript": "^5.2.2"
},
"dependencies": {
"@observablehq/plot": "^0.6.13",
"adm-zip": "^0.5.10",
"cheerio": "^1.0.0-rc.12",
"d3-array": "^3.2.4",
"d3-dsv": "^3.0.1",
"date-fns-tz": "^3.0.0"
}
}