-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
61 lines (61 loc) · 1.88 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
{
"name": "pill",
"description": "Dynamic content loading for static sites.",
"version": "1.4.6",
"main": "dist/node/pill.js",
"files": [
"dist/"
],
"devDependencies": {
"@codegoods/eslint-config-base": "^2.1.0",
"babel-minify": "^0.5.0",
"chalk": "^4.1.0",
"copy": "^0.3.2",
"eslint": "^7.5.0",
"husky": "^4.2.5",
"picomatch": "^2.2.2",
"pretty-bytes": "^5.4.1",
"rollup": "^1.7.4",
"serve": "^10.1.2"
},
"scripts": {
"start": "npm run build:iife && node bin/copy-files.js && serve -l 8080 -n example",
"clean": "rm -rf dist",
"committed": "bin/prepublish.js",
"build": "npm run build:iife && npm run build:cjs && npm run build:minify && npm run build:checksum",
"build:iife": "rollup --format iife --name pill -o dist/pill.js src/pill.js",
"build:cjs": "rollup --format cjs --name pill -o dist/node/pill.js src/pill.js",
"build:minify": "babel-minify -o dist/pill.min.js dist/pill.js",
"build:checksum": "node bin/checksum.js dist dist/*.js > dist/checksum.txt",
"prepublishOnly": "npm run committed && npm run clean && npm run build",
"lint": "eslint src",
"lint:staged": "bin/lint-staged.js",
"lint:owned": "bin/lint-owned.js",
"lint:fix": "eslint --fix src",
"size:pill": "bin/size.js dist/pill.js",
"size:pill-min": "bin/size.js dist/pill.min.js",
"size": "npm run size:pill && npm run size:pill-min"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rumkin/pill.git"
},
"keywords": [
"static",
"site",
"dynamic",
"loading"
],
"author": "Rumkin <[email protected]> (https://rumk.in/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/rumkin/pill/issues"
},
"homepage": "https://github.com/rumkin/pill#readme",
"husky": {
"hooks": {
"pre-commit": "npm run lint:staged",
"pre-push": "npm run lint:owned"
}
}
}