-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
27 lines (27 loc) · 975 Bytes
/
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
{
"name": "portfolio",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"minify-html": "html-minifier-terser src/index.html --collapse-whitespace --output=dist/index.html",
"optimize-css": "postcss src/styles.css --use autoprefixer cssnano postcss-pxtorem --output dist/styles.css --no-map",
"transpile-js": "babel src/script.js -o dist/script.js --presets=@babel/preset-env",
"minify-js": "uglifyjs dist/script.js --compress -o dist/script.js",
"build": "npm run minify-html && npm run optimize-css && npm run transpile-js && npm run minify-js"
},
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.4",
"html-minifier-terser": "^7.2.0",
"postcss": "^8.4.40",
"postcss-cli": "^11.0.0",
"postcss-pxtorem": "^6.1.0",
"uglify-js": "^3.19.1"
}
}