-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
71 lines (71 loc) · 2.3 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
{
"name": "bibliotheca",
"version": "1.0.0",
"description": "",
"files": [
"dist/**/*",
"bundled/**/*"
],
"sideEffects": false,
"source": "src/index.js",
"main": "dist/index.js",
"umd:main": "dist/index.umd.js",
"module": "dist/index.mjs",
"types": "dist/types/index.d.ts",
"exports": {
"require": "./dist/index.js",
"default": "./dist/index.modern.mjs"
},
"scripts": {
"dev": "vite",
"clean": "npm-run-all --parallel clean:bundled clean:dist",
"clean:bundled": "rm -rf bundled",
"clean:dist": "rm -rf dist",
"prepublishOnly": "npm version patch",
"postpublish": "git push --follow-tags",
"preversion": "npm run build",
"build": "npm-run-all --parallel clean build:dist build:bundle build:types",
"build:types": "tsc --allowJs -d --emitDeclarationOnly --declarationDir ./dist/types --removeComments ./src/index.js",
"build:dist": "microbundle build -i src/ --o ./dist",
"build:bundle": "npm-run-all build:bundle-full build:bundle-min",
"build:bundle-full": "microbundle build -i src/ --o ./bundled/index.js --no-sourcemap --no-pkg-main --external none --name $npm_package_name --format umd --no-compress",
"build:bundle-min": "microbundle build -i src/ --o ./bundled/index.min.js --no-sourcemap --no-pkg-main --external none --name $npm_package_name --format umd"
},
"repository": {
"type": "git",
"url": "git+https://github.com/studio-freight/bibliotheca.git"
},
"keywords": [],
"author": "@studio-freight",
"license": "ISC",
"bugs": {
"url": "https://github.com/studio-freight/bibliotheca/issues"
},
"homepage": "https://github.com/studio-freight/bibliotheca#readme",
"devDependencies": {
"@size-limit/preset-small-lib": "^8.1.2",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.3",
"typescript": "^4.9.4",
"vite": "^4.0.4"
},
"size-limit": [
{
"limit": "3 kB",
"path": "dist/index.js"
},
{
"limit": "2 kB",
"path": "dist/index.mjs"
}
]
}