-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
65 lines (65 loc) · 1.64 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
{
"name": "import-sync",
"repository": {
"type": "git",
"url": "https://github.com/nktnet1/import-sync"
},
"version": "2.2.2",
"files": [
"dist"
],
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"scripts": {
"test": "jest",
"tc": "jest --coverage",
"lint": "eslint --fix './**/*.ts'",
"tsc": "tsc --noEmit",
"build": "rm -rf dist && npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module CommonJS --outDir dist/cjs",
"prepublishOnly": "npm run build",
"prepare": "husky"
},
"keywords": [
"ecmascript",
"module",
"import",
"export",
"es6",
"esm",
"nodejs",
"commonjs",
"require",
"cjs",
"dyammic",
"runtime",
"sync",
"synchronous",
"comp1531"
],
"author": "Khiet Tam Nguyen",
"license": "MIT",
"description": "Synchronously import dynamic ECMAScript Modules similar to CommonJS require. Basic wrapper around esm for compatibility with both ESM and CJS projects in NodeJS.",
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/httptoolkit__esm": "^3.3.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.11",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^27.9.0",
"husky": "^9.1.1",
"jest": "^29.7.0",
"node-datachannel": "^0.11.0",
"node-fetch": "^3.3.2",
"ts-jest": "^29.2.2",
"ts-node": "^10.9.2",
"typescript": "^5.5.3"
},
"dependencies": {
"@httptoolkit/esm": "^3.3.0"
}
}