Skip to content

Commit a4eaa1a

Browse files
committed
feat: Update package.json with project details and add prepublish script
1 parent 5c2405a commit a4eaa1a

2 files changed

Lines changed: 32 additions & 3 deletions

File tree

package.json

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,40 @@
11
{
22
"name": "resourceloader-js",
33
"version": "1.0.0",
4-
"private": true,
5-
"description": "Tests for ResourceLoader.js",
4+
"description": "A flexible JavaScript library for dynamic resource loading",
5+
"main": "resourceLoader.js",
6+
"browser": "resourceLoader.js",
7+
"unpkg": "resourceLoader.js",
8+
"jsdelivr": "resourceLoader.js",
9+
"exports": {
10+
".": "./resourceLoader.js"
11+
},
12+
"files": [
13+
"resourceLoader.js",
14+
"README.md",
15+
"LICENSE"
16+
],
17+
"keywords": [
18+
"resource-loader",
19+
"script-loader",
20+
"css-loader",
21+
"dynamic-loading",
22+
"javascript"
23+
],
24+
"author": "Peter Benoit",
25+
"license": "MIT",
26+
"repository": {
27+
"type": "git",
28+
"url": "git+https://github.com/peterbenoit/ResourceLoader.js.git"
29+
},
30+
"bugs": {
31+
"url": "https://github.com/peterbenoit/ResourceLoader.js/issues"
32+
},
33+
"homepage": "https://github.com/peterbenoit/ResourceLoader.js#readme",
634
"scripts": {
735
"test": "vitest run",
8-
"test:watch": "vitest"
36+
"test:watch": "vitest",
37+
"prepublishOnly": "npm test"
938
},
1039
"devDependencies": {
1140
"jsdom": "^24.1.3",

resourceloader-js-1.0.0.tgz

6.64 KB
Binary file not shown.

0 commit comments

Comments
 (0)