-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
123 lines (123 loc) · 5.1 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "@lmc-eu/cookie-consent-manager",
"version": "2.6.0",
"description": "Cookie Consent Manager mainly for Alma Career products",
"keywords": [
"alma-career",
"lmc-eu",
"cookie",
"consent",
"manager"
],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"type": "module",
"exports": {
".": {
"import": "./LmcCookieConsentManager.js",
"default": "./LmcCookieConsentManager.js"
}
},
"types": "./LmcCookieConsentManager.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/lmc-eu/cookie-consent-manager.git"
},
"bugs": {
"url": "https://jira.int.lmc.cz/browse"
},
"contributors": [
"Ondřej Machulda <[email protected]>",
"Tomáš Litera <[email protected]>",
"Adam Kudrna <[email protected]>"
],
"scripts": {
"precss": "yarn css:lint",
"css": "npm-run-all --serial css:compile css:prefix css:minify",
"css:compile": "sass --load-path=node_modules --load-path=node_modules/@lmc-eu/spirit-design-tokens/scss src/LmcCookieConsentManager.scss dist/LmcCookieConsentManager.css",
"css:prefix": "postcss --config postcss.config.js --replace \"dist/*.css\" \"!dist/*.min.css\"",
"css:minify": "cleancss --format breaksWith=lf --source-map-inline-sources --batch --batch-suffix \".min\" \"dist/*.css\" \"!dist/*.min.css\"",
"css:lint": "stylelint --config .stylelintrc \"src/**/*.scss\" \"examples/assets/*.css\" --cache --cache-location .cache/.stylelintcache",
"css:watch": "nodemon --watch src/scss/ --ext scss --exec \"yarn css\"",
"prejs": "yarn js:lint",
"js": "npm-run-all --serial js:compile js:compile:types",
"js:lint": "eslint ./",
"js:lint:fix": "yarn js:lint --fix",
"js:compile": "vite build --config ./config/vite.config.lib.ts && vite build --config ./config/vite.config.init.ts",
"js:compile:types": "tsc -p ./tsconfig.build.json --outDir ./dist",
"lint": "npm-run-all --serial js:lint css:lint lint:commit",
"lint:commit": "yarn commitlint --from $(git describe --always --first-parent) --verbose",
"lint:commit:last": "yarn commitlint --from HEAD~1 --to HEAD --verbose",
"prebuild": "npm-run-all --serial build:clean build:copy",
"build:clean": "rm -rf dist && mkdir -p dist/scss",
"build:copy": "cp package.json README.md src/LmcCookieConsentManager.scss dist/ && cp -r src/scss/* dist/scss/",
"build": "npm-run-all --serial js css",
"serve": "vite --config ./config/vite.config.init.ts",
"start": "npm-run-all --parallel serve css:watch",
"format": "yarn format:check",
"format:check": "prettier --check 'src/**/*.{js,jsx,ts,tsx,scss}' 'scripts/*'",
"format:fix": "prettier --write 'src/**/*.{js,jsx,ts,tsx,scss}' 'scripts/*'",
"test": "npm-run-all --serial lint test:unit format types",
"test:unit": "jest --config ./config/jest.config.json",
"test:unit:watch": "yarn test:unit --watchAll",
"test:unit:coverage": "yarn test:unit --coverage",
"prepare": "husky",
"changelog": "yarn changelog:from-tag",
"changelog:from-tag": "conventional-changelog -p @lmc-eu/conventional-changelog-lmc-github -i CHANGELOG.md -s",
"changelog:from-beginning": "conventional-changelog -p @lmc-eu/conventional-changelog-lmc-github -i CHANGELOG.md -s -r 0",
"preversion": "yarn build",
"version": "yarn changelog && yarn replace-version && git status && git add CHANGELOG.md README.md package.json ./dist && git status",
"postversion": "echo 'Check and push: `git push --set-upstream origin main && git push --tags`'",
"release": "yarn version --`./bin/ci/semver.sh`",
"replace-version": "ts-node scripts/readme-replace-version.ts",
"types": "tsc -p ./tsconfig.json"
},
"dependencies": {
"@lmc-eu/spirit-design-tokens": "^1.1.3",
"nanoid": "5.0.8",
"vanilla-cookieconsent": "2.8.0"
},
"devDependencies": {
"@almacareer/stylelint-config": "9.0.1",
"@babel/core": "7.26.0",
"@babel/preset-env": "7.26.0",
"@commitlint/cli": "19.6.0",
"@lmc-eu/browserslist-config": "2.0.1",
"@lmc-eu/commitlint-config": "2.0.3",
"@lmc-eu/conventional-changelog-lmc-github": "3.0.3",
"@lmc-eu/eslint-config-base": "3.1.2",
"@lmc-eu/prettier-config": "2.0.1",
"@types/jest": "29.5.14",
"@types/node": "22.10.0",
"@typescript-eslint/eslint-plugin": "8.16.0",
"@typescript-eslint/parser": "8.16.0",
"autoprefixer": "10.4.20",
"babel-jest": "29.7.0",
"clean-css-cli": "5.6.3",
"conventional-changelog-cli": "5.0.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "28.9.0",
"eslint-plugin-prettier": "5.2.1",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"nodemon": "3.1.7",
"npm-run-all2": "7.0.1",
"postcss": "8.4.49",
"postcss-cli": "11.0.0",
"prettier": "3.4.1",
"replace-in-file": "8.2.0",
"sass-embedded": "1.81.0",
"stylelint": "16.10.0",
"stylelint-prettier": "5.0.2",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.7.2",
"vite": "6.0.0",
"vite-plugin-dts": "4.3.0"
},
"prettier": "@lmc-eu/prettier-config"
}