This repository has been archived by the owner on Feb 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
79 lines (79 loc) · 2.7 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "@mdn/minimalist",
"version": "2.0.4",
"description": "The base Sass for Mozilla Developer based projects and products",
"scripts": {
"build": "webpack",
"build:dist": "webpack --config ./webpack.dist.js",
"build:styleguide:sass": "webpack --config ./webpack.styleguide.js",
"build:styleguide": "yarn build:styleguide:sass && cd styleguide && hugo",
"build:sass": "sass ./sass/mdn-minimalist.scss ./public/css/main.css",
"build:sass:watch": "sass ./sass/mdn-minimalist.scss ./public/css/main.css --watch",
"build:sass:variables": "sass ./sass/shared-variables.module.scss ./public/css/shared-variables.module.css",
"copy": "mkdir -p ./public && cp -R ./typography ./public/typography",
"copy:styleguide": "mkdir -p ./styleguide/assets && cp -R ./dist/css ./styleguide/assets/minimalist",
"lint": "stylelint sass/**/*.scss",
"precommit": "yarn run prettier:staged",
"prettier:check": "prettier --check **/*.scss",
"prettier:format": "prettier --write **/*.scss",
"prettier:staged": "pretty-quick --staged --pattern \"**/*.scss\"",
"server": "http-server -p 8090",
"start": "run-p build:sass:watch copy server",
"styleguide": "yarn build:styleguide:sass && cd styleguide && hugo server -D -F",
"start:webpack": "run-p build copy server",
"test": "yarn run test:bundlesize && jest",
"test:bundlesize": "yarn build:sass && bundlesize"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mdn/mdn-minimalist.git"
},
"keywords": [
"styleguide",
"sass",
"south",
"mdn",
"css"
],
"author": "Mozilla",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/mdn/mdn-minimalist/issues"
},
"homepage": "https://github.com/mdn/mdn-minimalist#readme",
"devDependencies": {
"@mdn/dinocons": "^0.5.5",
"bundlesize": "^0.18.0",
"css-loader": "^6.1.0",
"file-loader": "^6.1.0",
"http-server": "^14.0.0",
"husky": "^7.0.0",
"jest": "27.5.1",
"mini-css-extract-plugin": "^2.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"pretty-quick": "^3.0.0",
"resolve-url-loader": "^5.0.0",
"sass": "^1.26.3",
"sass-loader": "^12.1.0",
"sass-true": "6.0.1",
"stylelint": "^13.2.1",
"stylelint-a11y": "^1.2.3",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended": "^5.0.0",
"stylelint-config-sass-guidelines": "^8.0.0",
"stylelint-prettier": "^1.1.2",
"stylelint-scss": "^3.15.0",
"url-loader": "^4.1.1",
"webpack": "^5.0.0",
"webpack-cli": "^4.0.0"
},
"bundlesize": [
{
"path": "./public/css/main.css",
"maxSize": "10 kB",
"compression": "gzip"
}
],
"dependencies": {}
}