-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.27 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
{
"name": "dah-doh",
"version": "0.0.6",
"author": {
"name": "Umberto Toniolo",
"email": "amountainram@gmail.com",
"url": "https://github.com/amountainram"
},
"license": "SEE LICENSE IN LICENSE",
"type": "module",
"main": "./dist/cjs/index.cjs",
"module": "./dist/es/index.js",
"types": "./dist/types/index.d.ts",
"browser": "./dist/index.es.js",
"exports": {
".": {
"import": "./dist/es/index.js",
"require": "./dist/cjs/index.cjs"
},
"./promises": {
"import": "./dist/es/promises.js",
"require": "./dist/cjs/promises.cjs"
},
"./polyfill": {
"import": "./dist/es/polyfill.js",
"require": "./dist/cjs/polyfill.cjs"
}
},
"typesVersions": {
"*": {
"promises": [
"./dist/types/promises.d.ts"
],
"polyfill": [
"./dist/types/polyfill.d.ts"
]
}
},
"files": [
"dist",
"./package.json",
"./LICENSE",
"./README.md"
],
"scripts": {
"lint": "eslint .",
"test": "mocha './config/test-setup.ts' '**/*.test.ts' 'src/tests/*.test.ts'",
"check-types": "tsc",
"dep-version": "ts-node --esm config/dep-version.ts",
"build:types": "tsc --project config/tsconfig.types.json",
"build:es6": "vite build",
"build:es5": "babel dist/index.es.js -o dist/es5/index.umd.js",
"build:es": "vite build -c config/es.vite.ts",
"build:cjs": "vite build -c config/cjs.vite.ts",
"build": "run-s build:es6 build:es5 build:es build:cjs build:types",
"preview": "vite preview",
"bump": "yarn ts-node --esm config/bump.ts",
"test:e2e": "playwright test"
},
"devDependencies": {
"@babel/cli": "^7.21.5",
"@babel/core": "^7.21.5",
"@babel/preset-env": "^7.21.5",
"@playwright/test": "^1.33.0",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.16.3",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"babel-preset-minify": "^0.5.2",
"chai": "^4.3.7",
"eslint": "^8.39.0",
"mocha": "^10.2.0",
"node-fetch": "^3.3.1",
"npm-run-all": "^4.1.5",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"vite": "^4.3.3"
},
"engines": {
"node": ">=14"
},
"browserslist": [
"last 2 versions",
"> 0.05%"
]
}