Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.61 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 1.61 KB
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
{
"name": "devug",
"version": "1.2.0",
"repository": "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/DeveloperUserGroup/developerusergroup.github.io",
"watch": {
"build:sass": "/src/scss/*.scss",
"build:javascript": [
"js/bootstrap.min.js",
"js/lazyload.min.js",
"js/polyfills.js",
"js/newsletter.js",
"js/general.js"
]
},
"scripts": {
"typescript": "tsc",
"watch:typescript": "tsc --watch",
"build:javascript": "uglifyjs js/bootstrap.min.js js/lazyload.min.js js/polyfills.js js/newsletter.js js/general.js -o js/devug.js -c",
"sass:compile": "node-sass-chokidar --source-map true src/scss/ -o css",
"sass:autoprefixer": "postcss css/*.css --use autoprefixer -d css",
"build:sass": "run-s sass:compile sass:autoprefixer",
"build:css": "purifycss ./css/devug.css **/*.html --min --info --out ./css/devug.css",
"copy:bootstrap": "cpx node_modules/bootstrap/dist/js/bootstrap.min.js js",
"copy:vanilla": "cpx node_modules/vanilla-lazyload/dist/lazyload.min.js js",
"copy": "copy:*",
"watch:general": "npm-watch",
"server": "bundle exec jekyll serve",
"start": "run-p watch:typescript watch:general server"
},
"license": "MIT",
"devDependencies": {
"@types/jquery": "^3",
"autoprefixer": "^10",
"bootstrap": "^5",
"cpx": "^1",
"node-sass-chokidar": "^2",
"npm-run-all": "^4",
"npm-watch": "^0",
"pidtree": "^0",
"postcss": "^8",
"postcss-cli": "^11",
"purify-css": "^1",
"typescript": "^5",
"uglify-js": "^3"
},
"dependencies": {
"vanilla-lazyload": "^19"
}
}