-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.77 KB
/
Copy pathpackage.json
File metadata and controls
43 lines (43 loc) · 1.77 KB
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
{
"name": "@open-craft/brand-simple-theme",
"version": "22.0.0",
"description": "This is a customisable branding package for Open edX MFEs that provides a number of overridable variables. ",
"scripts": {
"build-tokens": "npm run build:tokens",
"build-scss": "npm run build:scss",
"build:tokens": "paragon build-tokens --source ./tokens/ --build-dir ./paragon/css --all-themes --paragon-base-theme light --source-tokens-only --verbose",
"build:scss": "paragon build-scss --corePath ./paragon/core.scss --themesPath ./paragon/css/themes",
"build": "rimraf dist && mkdir dist && npm run build:scss",
"watch:tokens": "onchange -v --initial --delay 1500 'tokens/**/*.json' 'tokens/**/*.toml' -- npm run build:tokens",
"watch:scss": "onchange -v --initial --delay 1500 'paragon/**/*.css' 'paragon/**/*.scss' -- npm run build:scss",
"watch": "concurrently --names tokens,scss -c green,magenta 'npm run watch:tokens' 'npm run watch:scss'",
"dev": "concurrently --names watch,serve -c blue,yellow 'npm run watch' 'npm run serve'",
"serve": "paragon serve-theme-css",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/open-craft/edx-simple-theme.git"
},
"author": "OpenCraft",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/open-craft/edx-simple-theme/issues"
},
"homepage": "https://github.com/open-craft/edx-simple-theme#readme",
"peerDependencies": {
"@openedx/paragon": "^23.4.5"
},
"devDependencies": {
"@openedx/paragon": "^23.21.2",
"concurrently": "^10.0.5",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"onchange": "^7.1.0",
"prettier": "3.8.3",
"rimraf": "^6.1.3"
},
"lint-staged": {
"*.{css,scss}": "prettier --write"
}
}