-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
32 lines (32 loc) · 1.08 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
{
"name": "myles.dev",
"version": "4.0.1",
"description": "LoL",
"main": "index.js",
"scripts": {
"test": "npm run lint",
"lint": "eslint public/*.mjs",
"start": "npm run build && serve dist/",
"dev": "serve public/",
"build": "echo build:clean build:css build:js build:html build:img | xargs -n1 npm run",
"build:clean": "rm -rf dist/ && mkdir dist/",
"build:css": "postcss public/index.css -o dist/index.css",
"build:js": "terser public/index.mjs -o dist/index.mjs && terser public/audio.mjs -o dist/audio.mjs && terser public/infinite-scroll.mjs -o dist/infinite-scroll.mjs",
"build:html": "html-minifier -c ./.htmlminrc.json public/index.html > dist/index.html",
"build:img": "cp -r ./public/images/ ./dist/images/"
},
"keywords": [],
"author": "Myles Borins <[email protected]>",
"license": "Apache-2.0",
"devDependencies": {
"cssnano": "^6.1.2",
"eslint": "^8.20.0",
"html-minifier": "^4.0.0",
"postcss-cli": "^11.0.0",
"serve": "^14.2.0",
"terser": "^5.14.2"
},
"dependencies": {
"postcss": "^8.4.31"
}
}