-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
80 lines (80 loc) · 2.13 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
{
"version": "2.0.0",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"unpkg": "umd/index.js",
"umd:main": "umd/index.js",
"files": [
"dist",
"umd",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"start:umd": "parcel src/example/index.html --global acceptNano --no-cache",
"clean": "rm -rf dist && rm -rf umd",
"prebuild": "yarn clean",
"build": "tsdx build && yarn build:umd && yarn build:example",
"build:umd": "parcel build src/index.ts --global acceptNano --no-cache -d umd --out-file index.js",
"build:example": "cp src/example/index.html example/index.html && replace-in-file ../index.ts https://unpkg.com/@accept-nano/client@2 example/index.html",
"test": "tsdx test",
"lint": "tsdx lint",
"prepare": "yarn build",
"size": "size-limit",
"analyze": "size-limit --why",
"coveralls": "tsdx test --coverage && cat ./coverage/lcov.info | coveralls"
},
"peerDependencies": {},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": "@putdotio/prettier-config",
"name": "@accept-nano/client",
"author": "Altay Aydemir",
"devDependencies": {
"@putdotio/prettier-config": "^1.0.0",
"@size-limit/preset-small-lib": "^4.6.0",
"@testing-library/dom": "^7.26.0",
"@types/big.js": "^6.0.0",
"@types/jest": "^26.0.14",
"@types/qrcode": "^1.3.5",
"axios-mock-adapter": "^1.18.2",
"coveralls": "^3.1.0",
"husky": "^4.3.0",
"jest-canvas-mock": "^2.3.0",
"mock-socket": "^9.0.3",
"parcel-bundler": "^1.12.4",
"replace-in-file": "^6.1.0",
"size-limit": "^4.6.0",
"tsdx": "^0.14.1",
"tslib": "^2.0.3",
"typescript": "^4.0.3"
},
"size-limit": [
{
"path": "dist/client.cjs.production.min.js",
"limit": "60 KB"
},
{
"path": "dist/client.esm.js",
"limit": "60 KB"
}
],
"publishConfig": {
"access": "public"
},
"dependencies": {
"@byungi/event-emitter": "^1.2.2",
"axios": "^0.21.2",
"big.js": "^6.0.1",
"qrcode": "^1.4.4",
"redom": "^3.27.1",
"xstate": "^4.13.0"
}
}