-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.3 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
{
"name": "my-news-plugin",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"public-sass": "sass --watch public/src/assets/sass/styles.scss:public/assets/css/styles.min.css --style compressed",
"admin-sass": "sass --watch admin/src/assets/sass/admin-styles.scss:admin/assets/css/admin-styles.min.css --style compressed",
"public-js": "uglifyjs public/src/assets/js/my-news-plugin-public.js -o public/assets/js/my-news-plugin-public.min.js -m",
"watch-sass": "npm-run-all --parallel public-sass admin-sass",
"watch-public-js": "chokidar 'public/src/assets/js/*.js' -c 'npm run public-js'",
"watch": "npm-run-all --parallel watch-public-js watch-sass",
"build-sass": "sass public/src/assets/sass/styles.scss:public/assets/css/styles.min.css --style compressed && sass admin/src/assets/sass/admin-styles.scss:admin/assets/css/admin-styles.min.css --style compressed",
"build": "npm-run-all --parallel public-js build-sass"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"chokidar-cli": "^2.1.0",
"ncp": "^2.0.0",
"npm-run-all": "^4.1.5",
"sass": "^1.69.5",
"uglify-js": "^3.17.4"
},
"dependencies": {
"axios": "^1.6.0",
"jquery": "^3.7.1"
}
}