-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
185 lines (185 loc) · 5.2 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
{
"name": "eleva",
"version": "1.2.2-alpha",
"description": "A minimalist and lightweight, pure vanilla JavaScript frontend runtime framework.",
"type": "module",
"main": "dist/eleva.js",
"module": "dist/eleva.esm.js",
"unpkg": "dist/eleva.min.js",
"types": "dist/eleva.d.ts",
"exports": {
".": {
"require": "./dist/eleva.js",
"import": "./dist/eleva.esm.js",
"types": "./dist/eleva.d.ts"
}
},
"scripts": {
"dev": "rollup -c -w",
"build": "rollup -c",
"build:types": "tsc --emitDeclarationOnly",
"build:types:bundle": "rollup -c rollup.dts.config.js",
"build:all": "npm run clean && npm run build && npm run build:types && npm run build:types:bundle",
"test": "npm run test:all",
"test:source": "jest -c jest.source.config.js",
"test:source:unit": "jest -c jest.source.config.js --testPathPattern=source/unit",
"test:source:performance": "jest -c jest.source.config.js --testPathPattern=source/performance",
"test:source:coverage": "jest -c jest.source.config.js --coverage",
"test:source:watch": "jest -c jest.source.config.js --watch",
"test:source:debug": "jest -c jest.source.config.js --runInBand --no-cache --watchAll",
"test:build": "jest -c jest.build.config.js",
"test:build:unit": "jest -c jest.build.config.js --testPathPattern=build/unit",
"test:build:performance": "jest -c jest.build.config.js --testPathPattern=build/performance",
"test:build:coverage": "jest -c jest.build.config.js --coverage",
"test:build:watch": "jest -c jest.build.config.js --watch",
"test:build:debug": "jest -c jest.build.config.js --runInBand --no-cache --watchAll",
"test:all": "npm run test:source && npm run test:build",
"codecov": "npx codecov",
"lint": "eslint src/**/*.js",
"format": "npx prettier \"src/**/*\" \"types/**/*\" --write",
"size": "size-limit",
"clean": "rimraf dist types",
"prepublishOnly": "npm run format && npm run lint && npm run test && npm run build:all",
"prepare": "npm run build:all"
},
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@codecov/rollup-plugin": "^1.9.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@size-limit/preset-app": "^11.2.0",
"babel-jest": "^29.7.0",
"eslint": "^9.0.0",
"eslint-plugin-prettier": "^5.2.5",
"husky": "^9.1.7",
"jest": "^29.6.1",
"jest-environment-jsdom": "^29.7.0",
"jest-html-reporters": "^3.1.7",
"jest-watch-typeahead": "^2.2.2",
"lint-staged": "^15.5.0",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"rollup": "^4.34.8",
"rollup-plugin-dts": "^6.1.1",
"size-limit": "^11.2.0",
"typescript": "^5.1.6"
},
"lint-staged": {
"src/**/*.{js,ts}": [
"eslint --fix",
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"size-limit": [
{
"limit": "5 kB",
"path": "dist/eleva.min.js",
"name": "eleva",
"brotli": true
}
],
"keywords": [
"modern javascript framework",
"lightweight JavaScript framework",
"lightweight JS framework",
"frontend performance optimization",
"frontend performance",
"performance optimization",
"tiny footprint",
"minimal framework",
"fast framework",
"highly performant",
"lightweight framework",
"frontend optimization",
"small bundle size",
"tree-shakable",
"ui components",
"vanilla JavaScript",
"vanilla-js",
"vanilla framework",
"vanilla JavaScript framework",
"signal-based reactivity",
"reactivity",
"frontend runtime",
"runtime framework",
"web components",
"javascript framework",
"frontend framework",
"direct DOM",
"high performance",
"open source",
"modular",
"developer friendly",
"efficient",
"scalable",
"pure JavaScript",
"minimalist framework",
"high-speed rendering",
"unopinionated",
"typescript",
"typescript support",
"single-page applications",
"UI library",
"web development",
"web development framework",
"web development tools",
"micro frontends"
],
"author": {
"name": "Tarek Raafat",
"email": "tarek.m.raafat@gmail.com",
"url": "https://www.tarekraafat.com"
},
"license": "MIT",
"homepage": "https://elevajs.com",
"repository": {
"type": "git",
"url": "git+https://github.com/TarekRaafat/eleva.git"
},
"bugs": {
"url": "https://github.com/TarekRaafat/eleva/issues",
"email": "tarek.m.raafat@gmail.com"
},
"directories": {
"doc": "docs",
"example": "examples",
"test": "test",
"dist": "dist",
"src": "src",
"types": "types"
},
"files": [
"dist",
"types",
"src"
],
"sideEffects": false,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/TarekRaafat"
},
{
"type": "buymeacoffee",
"url": "https://www.buymeacoffee.com/tarekraafat"
}
],
"browserslist": [
"> 0.25%",
"last 2 versions",
"not dead",
"not op_mini all",
"not ie 11"
]
}