forked from alinalihassan/top-level-await
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.17 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
{
"name": "top-level-await",
"version": "1.0.0",
"repository": "git@github.com:alinalihassan/top-level-await.git",
"description": "An example repository for the top-level-await experimental support in Typescript 4.5.",
"license": "MIT",
"author": "Alin Ali Hassan <alinalihassan@gmail.com>",
"main": "src/index.ts",
"type": "module",
"scripts": {
"build": "tsc",
"dev": "nodemon -x node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm index.ts",
"start": "node --es-module-specifier-resolution=node ./dist/index.js",
"test": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js"
},
"dependencies": {
"typescript": "^4.5.4"
},
"devDependencies": {
"@types/jest": "^27.0.3",
"@types/node": "^17.0.5",
"jest": "^27.4.5",
"nodemon": "^2.0.15",
"ts-jest": "^27.1.2",
"ts-node": "^10.4.0"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"modulePathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/node_modules/"
],
"extensionsToTreatAsEsm": [
".ts"
],
"globals": {
"ts-jest": {
"useESM": true
}
}
}
}