Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.25 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 2.25 KB
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
{
"name": "iterable-observer",
"version": "1.1.1",
"license": "LGPL-3.0",
"author": "shiy2008@gmail.com",
"description": "Observable Proposal implement based on Async Generator (ES 2018) & TypeScript",
"keywords": [
"observer",
"observable",
"proposal",
"typescript",
"async",
"generator",
"iterator"
],
"homepage": "https://web-cell.dev/iterable-observer/",
"repository": {
"type": "git",
"url": "git+https://github.com/EasyWebApp/iterable-observer.git"
},
"bugs": {
"url": "https://github.com/EasyWebApp/iterable-observer/issues"
},
"source": "source/index.ts",
"types": "dist/index.d.ts",
"module": "dist/index.esm.js",
"main": "dist/index.js",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.js"
},
"dependencies": {
"@swc/helpers": "^0.5.23"
},
"devDependencies": {
"@parcel/packager-ts": "~2.16.4",
"@parcel/transformer-typescript-types": "~2.16.4",
"@types/jest": "^29.5.14",
"@types/node": "^24.13.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^17.3.0",
"open-cli": "^9.0.0",
"parcel": "~2.16.4",
"prettier": "^3.9.6",
"ts-jest": "^29.4.12",
"typedoc": "^0.28.20",
"typedoc-plugin-mdn-links": "^5.1.1",
"typescript": "~6.0.3"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4
},
"lint-staged": {
"*.{md,json,ts}": "prettier --write"
},
"jest": {
"preset": "ts-jest",
"testTimeout": 8000
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"targets": {
"main": {
"optimize": true
}
},
"scripts": {
"prepare": "husky",
"test": "lint-staged && jest --no-cache",
"pack-docs": "typedoc source/",
"build": "rm -rf dist/ docs/ && parcel build && npm run pack-docs",
"start": "npm run pack-docs && open-cli docs/index.html",
"prepublishOnly": "npm test && npm run build"
}
}