-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.58 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
{
"name": "@sirpepe/ornament",
"version": "2.1.0",
"description": "Micro-library for building vanilla web component frameworks",
"type": "module",
"main": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/min/index.min.js",
"default": "./dist/esm/index.js"
},
"./readme": "./Readme.md"
},
"scripts": {
"lint": "npx prettier . --check && eslint",
"test": "NODE_ENV=test wtr test/**/*.test.ts --playwright --browsers firefox chromium webkit",
"test-dev": "NODE_ENV=test wtr test/**/*.test.ts --playwright --browsers chromium",
"build": "npm run lint && rollup -c rollup.config.mjs && npm run size",
"build-examples": "cd examples && rollup -c rollup.config.mjs",
"types": "rm -rf dist/types && tsc -p tsconfig.build.json",
"prepareRelease": "rm -rf dist && npm run types && npm run lint && npm run test && npm run build && npm run build-examples",
"size": "gzip -c dist/min/index.min.js | wc -c | numfmt --to iec --format '%8.4f'",
"release": "npm run prepareRelease && release-it"
},
"directories": {
"test": "test"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/SirPepe/ornament.git"
},
"bugs": {
"url": "https://github.com/SirPepe/ornament/issues"
},
"homepage": "https://github.com/SirPepe/ornament#readme",
"author": "[email protected]",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.22.5",
"@babel/core": "^7.22.1",
"@babel/plugin-proposal-decorators": "^7.22.3",
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@babel/preset-env": "^7.25.3",
"@babel/preset-typescript": "^7.21.5",
"@eslint/js": "^9.5.0",
"@esm-bundle/chai": "^4.3.4-fix.0",
"@preact/signals-core": "^1.4.0",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@types/mocha": "^10.0.3",
"@types/sinon": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"@web/dev-server-rollup": "^0.6.0",
"@web/test-runner": "^0.19.0",
"@web/test-runner-playwright": "^0.11.0",
"eslint": "^8.41.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.8.0",
"preact": "^10.20.1",
"prettier": "^3.0.0",
"release-it": "^17.0.0",
"rollup": "^4.2.0",
"sinon": "^19.0.0",
"typescript": "^5.6.0",
"typescript-eslint": "^8.1.0",
"uhtml": "^4.5.0"
}
}