-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
81 lines (81 loc) · 2.16 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
{
"version": "0.1.0",
"license": "MIT",
"files": [
"browser",
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "node ./scripts/build.js",
"build:node": "tsdx build --target node",
"build:browser": "tsdx build --format cjs,esm,umd",
"test": "yarn test:node && cp ./coverage/coverage-final.json ./coverage/coverage-node-final.json && yarn test:browser && cp ./coverage/coverage-final.json ./coverage/coverage-browser-final.json && node ./scripts/mapCoverage.js",
"test:node": "NODE_ENV=development TARGET_ENVIRONMENT=node tsdx test test/node/** --coverage",
"test:browser": "NODE_ENV=development TARGET_ENVIRONMENT=browser tsdx test test/browser/** --coverage",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"peerDependencies": {},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"browserslist": [
"Chrome >= 70"
],
"jest": {
"coverageReporters": [
"json"
],
"collectCoverageFrom": [
"src/**/{!(safer.js),}"
]
},
"typings": "dist/index.d.ts",
"main": "dist/index.js",
"module": "dist/universal-sdk-by-tsdx.esm.js",
"browser": {
"dist/index.js": "./browser/index.js",
"dist/universal-sdk-by-tsdx.esm.js": "./browser/universal-sdk-by-tsdx.esm.js"
},
"name": "universal-sdk-by-tsdx",
"author": "[email protected]",
"size-limit": [
{
"path": "dist/universal-sdk-by-tsdx.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/universal-sdk-by-tsdx.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@rollup/plugin-alias": "^3.1.5",
"@size-limit/preset-small-lib": "^5.0.2",
"execa": "^5.1.1",
"fs-extra": "^10.0.0",
"husky": "^7.0.1",
"istanbul-api": "^3.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"size-limit": "^5.0.2",
"tsdx": "^0.14.1",
"tslib": "^2.3.0",
"typescript": "^4.3.5"
}
}