-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 3.04 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
80
81
82
83
84
85
86
87
88
{
"name": "lowcss",
"version": "0.26.0",
"description": "A low-level functional CSS toolkit",
"author": {
"name": "Josemi Juanes",
"email": "hello@josemi.xyz"
},
"license": "MIT",
"homepage": "https://low.josemi.xyz",
"repository": "https://github.com/jmjuanes/lowcss",
"bugs": "https://github.com/jmjuanes/lowcss/issues",
"main": "low.css",
"style": "low.css",
"sass": "low.scss",
"exports": {
".": "./low.css",
"./css": "./low.css",
"./scss": "./low.scss",
"./json": "./low.json",
"./package.json": "./package.json",
"./colors": "./colors.json"
},
"scripts": {
"build:bundle": "node ./scripts/bundle.js sass/_index.scss low.scss",
"build:dev": "sass sass/main.scss low.dev.css",
"build:css": "sass --style compressed sass/main.scss low.css",
"postbuild:css": "postcss low.css -o low.css && csso low.css --output low.css --source-map low.css.map",
"build:colors": "node ./scripts/colors.js json colors.json",
"build:json": "sass --no-source-map sass/json.scss low.raw.json",
"postbuild:json": "cat low.raw.json | tail -n 2 | head -n 1 | node ./scripts/json.js > low.json && rm low.raw.json",
"prebuild:site": "rm -rf www && mkdir www",
"build:site": "node ./scripts/site.js && node ./scripts/playground.js build",
"postbuild:site": "cp low.* www/ && cp colors.json www/ && cp node_modules/@josemi-icons/svg/sprite.svg www/ && cp node_modules/highlight.js/styles/nord.css www/highlight.css && cp public/* www/",
"build": "yarn build:bundle && yarn build:css && yarn build:json && yarn build:colors",
"bundle": "yarn build:bundle",
"docs": "yarn run build:site",
"playground": "yarn serve:playground",
"serve": "stattic --folder ./www --port 3000",
"serve:playground": "node ./scripts/playground.js serve",
"site": "yarn build:site",
"pack": "zip lowcss.zip low.* colors.json"
},
"keywords": [
"css",
"css-toolkit",
"low-css",
"functional-css",
"css-utilities",
"utilities",
"css-classes"
],
"files": [
"README.md",
"LICENSE",
"low.scss",
"low.css",
"low.json",
"colors.json"
],
"devDependencies": {
"@josemi-icons/svg": "^0.6.0",
"autoprefixer": "^10.4.19",
"codecake": "^0.4.2",
"csso-cli": "^4.0.1",
"front-matter": "^4.0.2",
"highlight.js": "^11.10.0",
"lz-string": "^1.5.0",
"marked": "^13.0.1",
"mikel": "^0.9.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"sass": "^1.72.0",
"stattic": "^0.4.0"
},
"peerDependencies": {
"sass": ">=1.23.0"
},
"browserslist": [
"last 10 Chrome versions",
"last 4 Firefox versions",
"last 3 Safari versions",
"not Safari 12",
"last 4 Edge versions",
"not Edge <= 18",
"Firefox ESR"
]
}