-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.99 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
{
"name": "@calj.net/jdates",
"version": "1.1.1",
"description": "The Jewish Dates library from https://CalJ.net",
"homepage": "https://github.com/zzgab/calj-jdates",
"scripts": {
"build": "npm run clean && npm run build:lib && npm run build:browser",
"build:browser": "rollup -c config/rollup.config.js",
"build:cjs": "tsc -p config/tsconfig.cjs.json",
"build:esm": "tsc -p config/tsconfig.esm.json",
"build:lib": "npm run build:esm && npm run build:cjs",
"clean": "rm -rf dist coverage *.tgz",
"esm-ext": "config/fixup-esm-ext.sh",
"fixup-package": "npm run fixup-package-esm && npm run fixup-package-cjs",
"fixup-package-cjs": "echo '{\"type\": \"commonjs\"}' > dist/lib/cjs/package.json",
"fixup-package-esm": "echo '{\"type\": \"module\"}' > dist/lib/esm/package.json",
"package-e2e": "test/e2e/e2e.sh",
"postbuild": "npm run fixup-package && npm run replace-version && npm run esm-ext ",
"prepack": "cp README.md dist/",
"prettier": "prettier -w package.json config/tsconfig.json **/*.json **/*.ts *.js */**/*.ts",
"replace-version": "config/replace-version.sh $npm_package_version",
"test": "jest --config config/jest.config.js --coverage"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/jest": "^29.4.0",
"jest": "^29.4.3",
"prettier": "^2.8.4",
"rollup": "^3.15.0",
"rollup-plugin-iife-namespace": "^0.0.2",
"ts-jest": "^29.0.5",
"tslib": "^2.5.0",
"typescript": "^4.9.5"
},
"keywords": [
"Jewish",
"Calendar",
"Hebrew",
"Dates",
"Parasha"
],
"author": "Gabriel Zerbib <[email protected]>",
"license": "ISC",
"main": "dist/cdn/calj.min.js",
"module": "dist/lib/esm/index.js",
"types": "dist/lib/types/index.d.ts",
"exports": {
"node": {
"import": "./dist/lib/esm/index.js",
"require": "./dist/lib/cjs/index.js"
},
"default": "./dist/cdn/calj.min.js"
},
"files": [
"dist/**/*"
]
}