aboutsummaryrefslogtreecommitdiff
blob: 7a7cd1a7ba93d2f0efac31b7f351390b03dcd998 (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
41
{
    "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": {
        "npm-run-all": "^4.1.2",
        "node-sass": "^4.13.0",
        "clean-css-cli": "^4.1.10",
        "postcss-cli": "^4.1.1",
        "node-sass-package-importer": "5.3.2"
    },
    "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": "node-sass --importer node_modules/node-sass-package-importer/dist/cli.js src/scss/ -o dist",
        "css:tyrian:prefix": "postcss dist/tyrian.css --use autoprefixer --replace && postcss dist/components/searchbars.css --use autoprefixer --replace",
        "css:tyrian:minify": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/tyrian.min.css dist/tyrian.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/components/searchbars.min.css dist/components/searchbars.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.3.slim.js && cp ./node_modules/popper.js/dist/umd/popper.min.js dist"
    },
    "dependencies": {
        "jquery": "^3.3.1",
        "popper.js": "1.14.7",
        "bootstrap": "4.3.1",
        "font-awesome": "4.7.0",
        "autoprefixer": "^7.2.4"
    }
}