-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.09 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.09 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
80
81
82
83
84
{
"name": "@basis-theory/web-elements",
"version": "2.11.1",
"repository": {
"type": "git",
"url": "https://github.com/basis-theory/web-elements.git"
},
"license": "Apache-2.0",
"author": {
"name": "Basis Theory",
"email": "support@basistheory.com"
},
"source": "src/index.ts",
"module": "dist/module/module.js",
"main": "dist/main/index.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prebuild": "TARGET_DIR=../../web-elements/src node ../scripts/web-elements/write-version-file.js && TARGET_DIR=../../web-elements/src node ../scripts/web-elements/write-urls-file.js",
"build:dev": "yarn clean && parcel build && npx size-limit && yarn generate-sri",
"build": "node ../scripts/web-elements/prepare.js && parcel build --no-cache && yarn generate-sri",
"clean": "rimraf dist .parcel-cache",
"generate-sri": "node ../scripts/web-elements/generate-sri.js",
"lint-staged": "lint-staged",
"lint:fix": "eslint --fix",
"lint": "eslint",
"size": "size-limit",
"test": "jest",
"watch": "parcel watch"
},
"targets": {
"main": {
"isLibrary": true,
"sourceMap": false
},
"module": {
"isLibrary": true,
"sourceMap": false
},
"types": {
"isLibrary": true,
"sourceMap": false
},
"bundle": {
"context": "browser",
"outputFormat": "global",
"isLibrary": false,
"sourceMap": false,
"distDir": "dist/bundle",
"optimize": true,
"engines": {
"browsers": "> 0.25%"
}
}
},
"alias": {},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"size-limit": [
{
"path": "dist/main/index.js",
"limit": "1 KB"
},
{
"path": "dist/browser/index.js",
"limit": "1 KB"
},
{
"path": "dist/module/module.js",
"limit": "1 KB"
}
],
"devDependencies": {
"@parcel/packager-ts": "2.14.2",
"@parcel/transformer-typescript-types": "2.14.2",
"@size-limit/preset-small-lib": "^11.1.6",
"parcel": "^2.14.2",
"ts-jest": "^29.2.5"
}
}