-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.53 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
{
"name": "@topmarksdevelopment/position",
"description": "A compact tool to help position an element against another. Similar to JQuery `.position()`",
"author": "TopMarksDevelopment",
"funding": [
"https://github.com/sponsors/TopMarksDevelopment",
"https://www.paypal.com/donate?hosted_button_id=5UFB62RB4AWNL"
],
"version": "1.0.3",
"license": "MIT",
"exports": {
".": {
"import": "./lib/index.m.js",
"require": "./lib/index.cjs",
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./helpers": {
"import": "./lib/helpers.m.js",
"require": "./lib/helpers.cjs",
"types": "./lib/helpers.d.ts",
"default": "./lib/helpers.js"
},
"./Enumerators/CollisionHandler": {
"import": "./lib/Enumerators/CollisionHandler.m.js",
"require": "./lib/Enumerators/CollisionHandler.cjs",
"types": "./lib/Enumerators/CollisionHandler.d.ts",
"default": "./lib/Enumerators/CollisionHandler.js"
}
},
"main": "lib/index.cjs",
"browser": "lib/index.js",
"types": "lib/index.d.ts",
"keywords": [
"JQuery position",
"element position",
"vanilla js positioning"
],
"repository": {
"type": "git",
"url": "git+https://github.com/TopMarksDevelopment/JavaScript.Position.git"
},
"bugs": {
"url": "https://github.com/TopMarksDevelopment/JavaScript.Position/issues"
},
"homepage": "https://github.com/TopMarksDevelopment/JavaScript.Position#readme",
"files": [
"lib/**",
"package-lock.json"
],
"scripts": {
"test": "jest --runInBand",
"build": "rollup --bundleConfigAsCjs -c rollup.config.js",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint ./src",
"prepare": "npm run build",
"prepublishOnly": "npm run format & npm run lint"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@stylistic/eslint-plugin": "^2.8.0",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"eslint": "^9.10.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.3.3",
"rollup": "^4.21.3",
"ts-jest": "^29.2.5",
"tslib": "^2.7.0",
"typescript": "^5.6.2"
}
}