generated from blameitonyourisp/js-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 4.97 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
{
"name": "@blameitonyourisp/blurrid",
"version": "0.0.1",
"description": "Generate and render blurred placeholders for lazy loaded images.",
"keywords": [
"image-optimization",
"dct",
"image-blur",
"webgl",
"lazy-loading"
],
"homepage": "https://github.com/blameitonyourisp/blurrid#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/blameitonyourisp/blurrid.git"
},
"bugs": {
"url": "https://github.com/blameitonyourisp/blurrid/issues"
},
"author": "James Reid",
"license": "MIT",
"type": "module",
"bin": {},
"main": "./dist/package/index.js",
"exports": {
".": "./dist/package/index.js",
"./web": "./dist/package/web.js"
},
"types": "./dist/package/index.d.ts",
"engines": {
"node": "*",
"npm": "*"
},
"targets": {
"main": false,
"types": false
},
"@parcel/resolver-default": {
"packageExports": true
},
"browserslist": "> 0.5%, last 2 versions, not dead",
"scripts": {
"admin:deploy": "gh-pages --dist ./dist/web",
"admin:plop": "plop --plopfile './admin/config/plopfile.js'",
"admin:tokei": "node ./admin/scripts/tokei.js",
"admin:update-labels": "node ./admin/scripts/github-labels.js",
"build": "npm run build:dev",
"build:dev": "npm run build:dev:bin && npm run build:dev:package && npm run build:dev:web",
"build:dev:bin": "rollup --config ./admin/config/rollup.config.js",
"build:dev:package": "rollup --config ./admin/config/rollup.config.js",
"build:dev:web": "npm run start:web",
"build:prod": "npm run build:prod:bin && npm run build:prod:package && npm run build:prod:web",
"build:prod:bin": "rollup --config ./admin/config/rollup.config.js",
"build:prod:package": "npm run types:declaration && rollup --config ./admin/config/rollup.config.js",
"build:prod:web": "rm -rf ./dist/web && parcel build ./src/web/pages/**/**/*.html --dist-dir ./dist/web --cache-dir ./.cache/parcel-prod && cp -r ./admin/web/. ./dist/web",
"docs": "npm run docs:jsdoc",
"docs:changelog": "node ./admin/scripts/changelog.js",
"docs:jsdoc": "jsdoc --configure ./admin/config/jsdoc.config.json",
"lint": "npm run lint:check",
"lint:check": "eslint ./src ./admin --cache --cache-location ./.cache/eslint.json",
"lint:fix": "eslint ./src ./admin --cache --cache-location ./.cache/eslint.json --fix",
"lint:fix-dry": "eslint ./src ./admin --cache --cache-location ./.cache/eslint.json --fix-dry-run",
"postversion": "git push --follow-tags",
"preversion": "npm run build:prod",
"start": "npm run start:web",
"start:docs": "npm run docs:jsdoc && http-server ./build/jsdoc & nodemon --watch src --exec 'npm run docs:jsdoc'",
"start:web": "parcel ./src/web/pages/**/**/*.html --dist-dir ./build/web --cache-dir ./.cache/parcel-dev",
"test": "npm run test:bin && npm run test:package && npm run test:web",
"test:bin": "jest --config ./admin/config/jest.config.cjs --passWithNoTests",
"test:package": "jest --config ./admin/config/jest.config.cjs --passWithNoTests",
"test:web": "jest --config ./admin/config/jest.config.cjs --passWithNoTests",
"types": "npm run types:check",
"types:check": "tsc",
"types:declaration": "tsc --project ./admin/config/declaration.tsconfig.json",
"watch": "nodemon --watch src --exec 'npm run build:dev:bin && npm run build:dev:package'",
"watch:bin": "nodemon --watch ./src/bin --exec 'npm run build:dev:bin'",
"watch:package": "nodemon --watch .src/package --exec 'npm run build:dev:package'"
},
"devDependencies": {
"@13ms/funky": "^1.0.1",
"@13ms/submodule": "^1.2.1",
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@jest/globals": "^29.5.0",
"@parcel/transformer-glsl": "^2.11.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@types/jest": "^29.5.5",
"@types/mustache": "^4.2.2",
"@types/node": "^20.6.0",
"@ungap/custom-elements": "^1.3.0",
"docdash": "^2.0.1",
"dotenv": "^16.3.1",
"eslint": "^8.49.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-regex": "^1.10.0",
"gh-pages": "^6.0.0",
"http-server": "^14.1.1",
"jest": "^29.5.0",
"jsdoc": "^4.0.2",
"lucide": "^0.323.0",
"mustache": "^4.2.0",
"nodemon": "^3.0.1",
"parcel": "^2.11.0",
"plop": "^4.0.0",
"rollup": "^4.3.0",
"rollup-plugin-dts": "^6.0.2",
"rollup-plugin-glslify": "^1.3.1",
"rollup-plugin-postcss": "^4.0.2",
"sharp": "^0.33.2",
"typescript": "^5.1.6",
"yaml": "^2.3.2"
}
}