-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 6.41 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
{
"name": "cozy-glow-theme",
"description": "Cozy Glow theme.",
"author": "Cozy Glow (cozyglow.co.uk)",
"scripts": {
"start": "npm-run-all --parallel watch docs-serve",
"css": "npm-run-all css-compile css-prefix css-rtl css-minify",
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css --load-path=node_modules scss/:dist/css/",
"css-rtl": "cross-env NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"dist/css\" --ext \".rtl.css\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*.rtl.css\"",
"css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
"css-lint-stylesheet": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
"css-minify": "npm-run-all --parallel css-minify-*",
"css-minify-main": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*rtl*.css\"",
"css-minify-rtl": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*rtl.css\" \"!dist/css/*.min.css\"",
"css-prefix": "npm-run-all --parallel css-prefix-*",
"css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
"css-test": "yarn run css-lint && yarn run css",
"js": "npm-run-all js-compile js-minify",
"js-compile": "npm-run-all --parallel js-compile-*",
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
"js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap",
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
"js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
"js-minify": "npm-run-all --parallel js-minify-*",
"js-minify-standalone": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/main.js.map,includeSources,url=main.min.js.map\" --output dist/js/main.min.js dist/js/main.js",
"js-minify-standalone-esm": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/main.esm.js.map,includeSources,url=main.esm.min.js.map\" --output dist/js/main.esm.min.js dist/js/main.esm.js",
"js-minify-bundle": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/main.bundle.js.map,includeSources,url=main.bundle.min.js.map\" --output dist/js/main.bundle.min.js dist/js/main.bundle.js",
"js-test": "npm-run-all --parallel js-test-karma js-test-jquery",
"js-debug": "cross-env DEBUG=true npm run js-test-karma",
"js-test-karma": "karma start js/tests/karma.config.js --no-fail-on-empty-test-suite",
"js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
"js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
"lint": "npm-run-all --parallel js-lint css-lint lockfile-lint",
"lockfile-lint": "lockfile-lint --allowed-hosts yarn --allowed-schemes https: --empty-hostname false --type yarn --path yarn.lock",
"update-deps": "ncu -u -x karma-browserstack-launcher,terser && npm update",
"release": "npm-run-all dist release-zip*",
"release-version": "node build/change-version.js",
"release-zip": "cross-env-shell \"rm -rf bootstrap-$npm_package_version-dist && cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && rm -rf bootstrap-$npm_package_version-dist\"",
"dist": "npm-run-all --parallel css js",
"test": "npm-run-all lint dist js-test",
"watch": "npm-run-all --parallel watch-*",
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
"watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
"prepublishOnly": "npm-run-all dist"
},
"dependencies": {
"@epickris/bootstrap-kit": "^1.0.2",
"@popperjs/core": "^2.9.2",
"bootstrap": "^5.2.3",
"bootstrap-icons": "^1.4.1",
"chroma-js": "^1.3.6",
"jquery": "^3.6.0",
"lodash": "^4.17.21",
"trianglify": "^4.1.1",
"unit-to-px": "^1.0.5"
},
"devDependencies": {
"@babel/cli": "^7.13.16",
"@babel/core": "^7.14.0",
"@babel/preset-env": "^7.14.1",
"@popperjs/core": "^2.9.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.4.2",
"autoprefixer": "^10.2.5",
"bootstrap-datepicker": "^1.9.0",
"bundlewatch": "^0.3.2",
"clean-css-cli": "^5.3.0",
"cross-env": "^7.0.3",
"eslint": "^7.25.0",
"eslint-config-xo": "^0.36.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-unicorn": "^31.0.0",
"find-unused-sass-variables": "^3.1.0",
"gh-pages": "^3.2.3",
"glob": "^7.1.6",
"globby": "^11.0.3",
"hammer-simulator": "0.0.1",
"ip": "^1.1.5",
"jquery": "^3.6.0",
"karma": "^6.3.2",
"karma-browserstack-launcher": "1.4.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-detect-browsers": "^2.3.3",
"karma-firefox-launcher": "^2.1.0",
"karma-jasmine": "^4.0.1",
"karma-jasmine-html-reporter": "^1.5.4",
"karma-rollup-preprocessor": "^7.0.7",
"lockfile-lint": "^4.10.1",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",
"pantone-css": "^0.1.5",
"postcss": "^8.2.13",
"postcss-cli": "^10.1.0",
"rollup": "^2.47.0",
"rollup-plugin-istanbul": "^3.0.0",
"rtlcss": "^3.1.2",
"sass": "^1.32.12",
"shelljs": "^0.8.4",
"stylelint": "^14.6.1",
"stylelint-config-twbs-bootstrap": "^3.0.1",
"terser": "5.16.2",
"vnu-jar": "21.4.9"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cozyglow/cozy-glow-theme.git"
},
"bugs": {
"url": "https://github.com/cozyglow/cozy-glow-theme/issues"
},
"files": [
"dist/{css,js}/*.{css,js,map}",
"js/{src,dist}/**/*.{js,map}",
"scss/**/*.scss"
],
"version": "1.0.0",
"sass": "scss/main.scss"
}