-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
85 lines (85 loc) · 2.73 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
{
"//": "JSHint configuration - http://jshint.com/docs/options/",
"name": "kth-style",
"version": "9.1.2",
"description": "KTH CSS. A custom build of Bootstrap 5. The purpose of this project is to provide the essential design and style for applications within KTH and make the development process of these applications faster.",
"files": [
"dist",
"public"
],
"private": false,
"license": "MIT",
"repository": {
"type": "git",
"uri": "https://github.com/KTH/kth-style"
},
"author": {
"name": "KTH",
"email": "[email protected]",
"url": "https://github.com/KTH"
},
"keywords": [
"style",
"design",
"scss",
"icons"
],
"homepage": "https://github.com/KTH/kth-style#readme",
"bugs": {
"url": "https://github.com/KTH/kth-style/issues"
},
"scripts": {
"//": "Webpack installs css, images and javascripts",
"test": "echo \"ok\"",
"build": "./build.sh prod",
"build-dev": "./build.sh dev",
"prepare": "husky",
"echoit": "echo 'This is inside echoit'",
"lint": "eslint \"public/**/*.{js,jsx}\" --quiet",
"lint-v": "eslint \"public/**/*.{js,jsx}\" ",
"sass-lint": "./node_modules/.bin/sass-lint --config ./.sass-lint.yml './public/sass/**/*.scss' --verbose --no-exit",
"create-zip": "rm -f dist/kth-style-scss.zip && find ./node_modules -name \"*.scss\" | xargs zip -r dist/kth-style-scss -@ && (cd ./public/sass && find . -name \"*.scss\" | xargs zip -r ../../dist/kth-style-scss -@ )&& (cd ./dist && find ./img | xargs zip -r kth-style-scss -@ )",
"generate-svg-data": "./generate-svg-data.sh",
"webpack": "webpack",
"webpack-watch": "webpack --watch",
"sass-prod": "sass --style=compressed --no-source-map -I. ./public/sass/kth-bootstrap.scss ./dist/css/kth-bootstrap.css",
"sass-dev": "sass --style=expanded --source-map -I. ./public/sass/kth-bootstrap.scss ./dist/css/kth-bootstrap.css",
"babel-js-prod": "babel --minified --source-maps false public/js --out-dir dist/js"
},
"dependencies": {
"bootstrap": "^5.3.3",
"jquery": "^3.6.0",
"tether": "^2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.18.9",
"@babel/core": "^7.18.9",
"@babel/preset-env": "7.26.0",
"@kth/eslint-config-kth": "^3.0.10",
"babel-loader": "^8.2.5",
"copy-webpack-plugin": "^10.2.4",
"eslint": "^8.20.0",
"husky": "^9.0.11",
"prettier": "^2.7.1",
"pretty-quick": "3.3.1",
"sass": "^1.53.0",
"sass-loader": "^12.6.0",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0"
},
"engines": {
"node": ">=12"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 120
},
"browserslist": [
"> 1%",
"not dead",
"IE 11"
]
}