forked from UBCCM/UBC-DEF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.76 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
{
"name": "ubc-clf8",
"version": "0.0.1",
"description": "Common Look and Feel framework for UBC",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/UBCCM/ubc-clf8.git"
},
"keywords": [
"clf",
"ubc"
],
"author": "UBC Communications & Marketing",
"license": "MIT",
"bugs": {
"url": "https://github.com/UBCCM/ubc-clf8/issues"
},
"homepage": "https://github.com/UBCCM/ubc-clf8#readme",
"engines": {
"yarn": ">= 1.6",
"node": ">= 8.11"
},
"scripts": {
"test": "snyk test",
"serve": "cross-env NODE_ENV=development concurrently \"postcss src/css/styles.css -o build/css/styles-all.css --watch\" \"live-server ./build --watch\" ",
"dbi": "cross-env NODE_ENV=development postcss src/css/dbi.css -o build/css/dbi.css && cross-env NODE_ENV=production postcss src/css/dbi.css -o dist/css/dbi.css",
"dark": "cross-env NODE_ENV=development postcss src/css/dark.mode.css -o build/css/dark.mode.css && cross-env NODE_ENV=production postcss src/css/dark.mode.css -o dist/css/dark.mode.css",
"lint:css": "stylelint \"src/**/*.css\" || exit 0",
"lint:fix-css": "stylelint \"src/**/*.css\" --fix || exit 0",
"build:dev": "npm run development",
"development": "cross-env NODE_ENV=development postcss src/css/styles.css -o build/css/styles-all.css && twig-cli \"src/html/*.html.twig\" --base src/html/ --output build/ && babel src/html/js --out-file build/js/ubc.all.js --ignore \"src/html/js/libs/*\" --source-maps",
"build:prod": "npm run production",
"production": "cross-env NODE_ENV=production postcss src/css/styles.css -o dist/css/styles-all.css && cross-env NODE_ENV=production postcss src/css/dbi.css -o dist/css/dbi.css && twig-cli \"src/html/*.html.twig\" --base src/html/ --output dist/ && babel src/html/js --out-file dist/js/ubc.all.js --ignore \"src/html/js/libs/*\" --presets minify",
"build:html": "cross-env NODE_ENV=production twig-cli \"src/html/*.html.twig\" --base src/html/ --output build/",
"build:js": "babel src/html/js --out-file build/js/ubc.all.js --ignore \"src/html/js/libs/*\""
},
"dependencies": {
"autoprefixer": "^9.7.1",
"tailwindcss": "^1.1.3",
"twig-cli-tmpl": "^1.0.1"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@fullhuman/postcss-purgecss": "^1.3.0",
"babel-preset-minify": "^0.5.1",
"concurrently": "^4.1.2",
"cross-env": "^5.2.1",
"cssnano": "^4.1.10",
"live-server": "^1.2.1",
"postcss-cli": "^6.1.3",
"postcss-custom-properties": "^9.0.2",
"postcss-import": "^12.0.1",
"postcss-simple-vars": "^5.0.2",
"snyk": "^1.245.0",
"stylelint": "^10.1.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^18.3.0",
"stylelint-order": "^3.1.1"
},
"browserslist": [
"defaults",
"last 2 versions",
"not dead",
"ie 11"
]
}