summaryrefslogtreecommitdiff
blob: 27f20cd6d7cea5af9d724043a8d169617460d8d1 (plain)
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
{
    "name": "@gentoo/tyrian",
    "version": "2.0.0",
    "description": "Gentoo Tyrian theme",
    "repository": {
        "type": "git",
        "url": "https://anongit.gentoo.org/git/sites/tyrian-theme.git"
    },
    "files": [
        "dist",
        "src"
    ],
    "devDependencies": {
        "clean-css-cli": "^5.6.2",
        "npm-run-all": "^4.1.5",
        "postcss-cli": "^10.1.0",
        "sass": "^1.62.0"
    },
    "scripts": {
        "prepare": "npm run dist",
        "dist": "npm-run-all clean:dist css:tyrian:dist copy:assets",
        "clean:dist": "rm -rf dist && mkdir -p dist",
        "css:tyrian:dist": "npm-run-all css:tyrian:build css:tyrian:prefix css:tyrian:minify",
        "css:tyrian:build": "sass --load-path=node_modules/ src/scss/:dist/",
        "css:tyrian:prefix": "postcss dist/tyrian.css --use autoprefixer --replace && postcss dist/components/searchbars.css --use autoprefixer --replace && postcss dist/components/additional-listgroup-link.css --use autoprefixer --replace",
        "css:tyrian:minify": "cleancss -O1 --source-map --source-map-inline-sources --output dist/tyrian.min.css dist/tyrian.css && cleancss -O1 --source-map --source-map-inline-sources --output dist/components/searchbars.min.css dist/components/searchbars.css && cleancss -O1 --source-map --source-map-inline-sources --output dist/components/additional-listgroup-link.min.css dist/components/additional-listgroup-link.css",
        "copy:assets": "npm-run-all copy:js copy:img copy:fonts copy:tyrian:assets",
        "copy:js": "cp src/js/*.js dist",
        "copy:img": "cp src/img/*.* dist",
        "copy:fonts": "cp src/fonts/*.* dist",
        "copy:tyrian:assets": "cp ./node_modules/bootstrap/dist/js/bootstrap.min.js dist/bootstrap.min.js && cp ./node_modules/jquery/dist/jquery.slim.js dist/jquery-3.6.slim.js && cp ./node_modules/popper.js/dist/umd/popper.min.js dist"
    },
    "dependencies": {
        "autoprefixer": "^10.4.14",
        "bootstrap": "4.6.2",
        "font-awesome": "4.7.0",
        "jquery": "^3.6.4",
        "popper.js": "^1.16.0"
    }
}