-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
65 lines (65 loc) · 2.59 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "cozy-bootstrap",
"version": "0.1.0",
"description": "A cozy theme for bootstrap",
"repository": "https://github.com/cozy/cozy-bootstrap",
"author": "Cozy <[email protected]>",
"license": "MIT",
"scripts": {
"build": "npm-run-all css-compile css-vars css-prefix css-minify js-compile",
"js-compile": "webpack build --mode=production",
"css-compile": "sass -I node_modules/ --embed-sources src/:dist/",
"css-lint": "stylelint \"src/**/*.scss\" --cache --cache-location .cache/.stylelintcache --rd",
"css-minify": "cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/cozy-bs.min.css dist/cozy-bs.css",
"css-prefix": "postcss --replace dist/cozy-bs.css --use autoprefixer --map",
"css-vars": "postcss --replace dist/cozy-bs.css --config ./postcss-cozy-vars/postcss.config.js",
"docs": "ln -sf ../dist/cozy-bs.css docs/ && ln -sf ../dist/cozy-bs.js docs/ && npm-run-all --parallel docs-serve watch",
"docs-lint": "npm-run-all --parallel docs-prettier docs-vnu",
"docs-prettier": "prettier --print-width=100 -c docs/*.html",
"docs-serve": "serve --symlinks --listen 3000 docs/",
"docs-vnu": "java -jar node_modules/vnu-jar/build/dist/vnu.jar --skip-non-html --Werror docs",
"gh-pages": "cp -r docs gh-pages && cp dist/cozy-bs.css* gh-pages/ && cp dist/cozy-bs.js* gh-pages/",
"lint": "npm-run-all --parallel css-lint docs-lint",
"release": "semantic-release",
"test": "backstop test --docker",
"test:approve": "backstop approve",
"test:clean": "sudo rm -rf screenshots/test",
"test:open": "backstop openReport",
"watch": "nodemon --watch src/ --ext scss --exec \"npm-run-all css-compile css-vars css-prefix\""
},
"files": [
"README.md",
"LICENSE",
"CHANGELOG.md",
"package.json",
"dist/"
],
"style": "dist/cozy-bs.css",
"sass": "src/cozy-bs.scss",
"browserslist": [
"extends browserslist-config-cozy"
],
"devDependencies": {
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.1",
"@semantic-release/npm": "7.1.3",
"autoprefixer": "10.4.19",
"backstopjs": "6.3.3",
"bootstrap": "5.1.3",
"browserslist-config-cozy": "0.5.0",
"clean-css-cli": "5.6.3",
"nodemon": "2.0.22",
"npm-run-all2": "5.0.2",
"postcss": "8.4.38",
"postcss-cli": "9.1.0",
"prettier": "2.8.8",
"sass": "1.49.7",
"semantic-release": "17.4.7",
"serve": "13.0.4",
"stylelint": "14.1.0",
"stylelint-config-twbs-bootstrap": "3.0.1",
"vnu-jar": "21.10.12",
"webpack": "5.88.0",
"webpack-cli": "5.1.4"
}
}