-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
74 lines (74 loc) · 1.87 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
{
"name": "jquery-once",
"title": "jQuery Once",
"description": "Act on jQuery elements only once.",
"version": "2.3.0",
"keywords": [
"jquery",
"jquery-plugin"
],
"homepage": "https://github.com/RobLoach/jquery-once",
"author": "Rob Loach (http://github.com/RobLoach)",
"maintainers": [
"Rob Loach (https://github.com/RobLoach)"
],
"types": "jquery.once.d.ts",
"main": "jquery.once.js",
"contributors": [
"JohnAlbin (https://github.com/JohnAlbin)",
"Rob Loach (https://github.com/RobLoach)",
"theodoreb (https://github.com/theodoreb)",
"Olavo Rocha Neto (https://github.com/olavorn)"
],
"repository": {
"type": "git",
"url": "https://github.com/RobLoach/jquery-once.git"
},
"bugs": {
"url": "https://github.com/RobLoach/jquery-once/issues"
},
"license": "(GPL-2.0 OR MIT)",
"engines": {
"node": ">=6"
},
"dependencies": {
"jquery": "*"
},
"devDependencies": {
"@types/jquery": "*",
"jsdoc-to-markdown": "^8.0.0",
"jsdom": "~23.0.1",
"mocha": "^10.2.0",
"mocha-jsdom": "*",
"uglify-js": "~3.17.4",
"xo": "*"
},
"scripts": {
"test": "mocha test/test.js --env node",
"lint": "xo --space=2 --no-esnext jquery.once.js test",
"docs": "jsdoc2md jquery.once.js > API.md",
"build": "uglifyjs -o jquery.once.min.js --comments --source-map filename=jquery.once.min.js,url=jquery.once.min.js.map --mangle -- jquery.once.js",
"prepackage": "npm it",
"package": "npm run docs",
"postpackage": "npm run build"
},
"files": [
"jquery.once.js",
"jquery.once.d.ts",
"jquery.once.min.js",
"jquery.once.min.js.map"
],
"browser": "./jquery.once.min.js",
"browserPackage": {
"files": [
"jquery.once.js",
"jquery.once.min.js",
"jquery.once.min.js.map"
]
},
"xo": {
"rules": {
"unicorn/prefer-module": 0
}
}
}