-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.96 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.96 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "engineblockthemes",
"license": "Apache-2.0",
"repository": "https://github.com/OpenConext/OpenConext-engineblock.git",
"version": "1.0.0",
"description": "Themes for OpenConext Engineblock",
"main": "index.js",
"scripts": {
"test": "@cy:run",
"test:visual-regression": "CYPRESS_integrationFolder=cypress/visual-regression/${EB_THEME:=skeune} yarn cy:run",
"cy:run": "../tests/e2e/cypress run --browser firefox --headless",
"cy:run:theme": "../tests/e2e/cypress run --browser firefox --headless --spec 'cypress/integration/skeune/**/*.spec.js,cypress/integration/shared/*.spec.js'",
"cy:open": "../tests/e2e/cypress open",
"cypress:open": "npx ../tests/e2e/cypress open",
"audit": "yarn audit",
"lint": "yarn lint:js && yarn lint:css",
"lint:js": "eslint '**/javascripts/**/*.js'",
"lint:css": "stylelint ${EB_THEME:=openconext}/stylesheets/**/*.*ss",
"clean": "rimraf ../public/images/* ../public/javascripts/* ../public/stylesheets/* ../public/fonts/*",
"build": "node scripts/build.js",
"buildtheme": "yarn build:clean && yarn build:js && yarn build:css && bash scripts/copy-assets.sh",
"build:clean": "rimraf ../public/javascripts/* ../public/stylesheets/*",
"build:js": "mkdir -p ../public/javascripts && EB_THEME=${EB_THEME:=openconext} webpack --config webpack.config.js --mode production",
"build:js:debug": "mkdir -p ../public/javascripts && EB_THEME=${EB_THEME:=openconext} webpack --config webpack.config.js --mode development",
"build:css": "mkdir -p ../public/stylesheets && yarn build:css:sass && yarn build:css:postcss",
"build:css:sass": "sass ${EB_THEME:=openconext}/stylesheets:../public/stylesheets/",
"build:css:postcss": "BROWSERSLIST_CONFIG=.browserslistrc postcss ../public/stylesheets/*.css --use autoprefixer --use cssnano --no-map --dir ../public/stylesheets",
"create-theme": "node scripts/create-theme.js",
"watch": "node scripts/watch.js",
"watch:js": "mkdir -p ../public/javascripts && EB_THEME=${EB_THEME:=openconext} webpack --config webpack.config.js --mode development --watch",
"watch:css": "sass -w ${EB_THEME:=openconext}/stylesheets:../public/stylesheets",
"release": "yarn build"
},
"author": "",
"devDependencies": {
"@babel/core": "^7.22",
"@babel/preset-env": "^7.22",
"@eslint/js": "^10.0.1",
"autoprefixer": "^10.4",
"babel-loader": "^9.0",
"core-js": "^3.32",
"cssnano": "^7.1.1",
"eslint": "^10.0.3",
"globals": "^17.4.0",
"postcss": "^8.4.32",
"postcss-cli": "^11.0.1",
"postcss-sass": "^0.5",
"postcss-scss": "^4.0",
"rimraf": "^6.0.1",
"sass": "^1.66",
"socket.io": "^4.8.1",
"stylelint": "^17.4.0",
"stylelint-config-recommended": "^18.0.0",
"terser-webpack-plugin": "^5.4.0",
"webpack": "^5.0",
"webpack-cli": "^5.0"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^7.0.1",
"js-cookie": "^3.0",
"js-yaml": "^4.1",
"tippy.js": "^6.3"
}
}