-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 4.52 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
{
"name": "amplify",
"version": "1.0.1",
"description": "Front-End starter kit for Studio 24",
"main": "index.js",
"directories": {
"doc": "docs",
"test": "tests"
},
"repository": {
"type": "git",
"url": "git+https://github.com/studio24/amplify.git"
},
"author": "Studio 24",
"license": "MIT",
"bugs": {
"url": "https://github.com/studio24/amplify/issues"
},
"homepage": "https://github.com/studio24/amplify#readme",
"browserslist": [
">0.1%",
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Edge versions",
"last 2 Samsung versions",
"Safari >= 12.1",
"iOS >= 12.1",
"not dead"
],
"config": {
"from": "assets-src",
"to": "web/dist"
},
"scripts": {
"fonts": "shx cp -r ${npm_package_config_from}/fonts/* ${npm_package_config_to}/fonts",
"images": "shx cp -r ${npm_package_config_from}/images/* ${npm_package_config_to}/images",
"svgs": "svgo --folder=${npm_package_config_from}/svg --output=${npm_package_config_to}/svg",
"sass-core-expanded": "sass --no-source-map --error-css --style=expanded ${npm_package_config_from}/styles/core.scss ${npm_package_config_to}/styles/core.css",
"postsass-core-expanded": "postcss --no-map ${npm_package_config_to}/styles/core.css --use=autoprefixer --output=${npm_package_config_to}/styles/core.css",
"sass-advanced-expanded": "sass --no-source-map --error-css --style=expanded ${npm_package_config_from}/styles/advanced.scss ${npm_package_config_to}/styles/advanced.css",
"postsass-advanced-expanded": "postcss --no-map ${npm_package_config_to}/styles/advanced.css --use=autoprefixer --output=${npm_package_config_to}/styles/advanced.css",
"sass-print-expanded": "sass --no-source-map --error-css --style=expanded ${npm_package_config_from}/styles/print.scss ${npm_package_config_to}/styles/print.css",
"postsass-print-expanded": "postcss --no-map ${npm_package_config_to}/styles/print.css --use=autoprefixer --output=${npm_package_config_to}/styles/print.css",
"sass-core-compressed": "sass --no-source-map --style=compressed ${npm_package_config_from}/styles/core.scss ${npm_package_config_to}/styles/core.min.css",
"postsass-core-compressed": "postcss --no-map ${npm_package_config_to}/styles/core.min.css --use=autoprefixer --output=${npm_package_config_to}/styles/core.min.css",
"sass-advanced-compressed": "sass --no-source-map --style=compressed ${npm_package_config_from}/styles/advanced.scss ${npm_package_config_to}/styles/advanced.min.css",
"postsass-advanced-compressed": "postcss --no-map ${npm_package_config_to}/styles/advanced.min.css --use=autoprefixer --output=${npm_package_config_to}/styles/advanced.min.css",
"sass-print-compressed": "sass --no-source-map --style=compressed ${npm_package_config_from}/styles/print.scss ${npm_package_config_to}/styles/print.min.css",
"postsass-print-compressed": "postcss --no-map ${npm_package_config_to}/styles/print.min.css --use=autoprefixer --output=${npm_package_config_to}/styles/print.min.css",
"styles": "npm-run-all --parallel sass-core-expanded sass-core-compressed sass-advanced-expanded sass-advanced-compressed sass-print-expanded sass-print-compressed",
"js": "webpack --config webpack.config.js",
"prebuild": "shx rm -rf ${npm_package_config_to} && shx mkdir -p ${npm_package_config_to}/fonts && shx mkdir ${npm_package_config_to}/images && shx mkdir ${npm_package_config_to}/js && shx mkdir ${npm_package_config_to}/js/libraries && shx mkdir ${npm_package_config_to}/styles && shx mkdir ${npm_package_config_to}/svg",
"build": "npm-run-all --parallel fonts images svgs js styles",
"watch:fonts": "chokidar ${npm_package_config_from}/fonts -c \"npm run fonts\"",
"watch:images": "chokidar ${npm_package_config_from}/images -c \"npm run images\"",
"watch:svgs": "chokidar ${npm_package_config_from}/svg -c \"npm run svgs\"",
"watch:js": "chokidar ${npm_package_config_from}/js -c \"npm run js\"",
"watch:styles": "chokidar ${npm_package_config_from}/styles -c \"npm run styles\"",
"watch": "npm-run-all --parallel watch:*"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"autoprefixer": "^10.4.14",
"babel-loader": "^9.1.2",
"browserslist": "^4.21.5",
"chokidar-cli": "^3.0.0",
"copy-webpack-plugin": "^11.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.21",
"postcss-cli": "^10.1.0",
"sass": "^1.60.0",
"shx": "^0.3.4",
"svgo": "^3.0.2",
"webpack": "^5.77.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@splidejs/splide": "^4.1.4",
"accessible-autocomplete": "^2.0.4",
"fontfaceobserver": "^2.3.0",
"tabbyjs": "^12.0.3"
}
}