-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
75 lines (75 loc) · 2.48 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
{
"name": "admin-menu-manager",
"title": "Admin Menu Manager",
"description": "Manage the WordPress admin menu using a simple drag & drop interface.",
"version": "2.0.0-alpha",
"homepage": "https://required.com/services/wordpress-plugins/admin-menu-manager/",
"license": "GPL-2.0+",
"keywords": [],
"author": {
"name": "required",
"email": "support@required.ch",
"url": "https://required.com"
},
"repository": {
"type": "git",
"url": "https://github.com/wearerequired/admin-menu-manager"
},
"devDependencies": {
"autoprefixer": "^8.1.0",
"babel-cli": "^6.24.1",
"babel-core": "^6.26.0",
"babel-plugin-transform-html-import-to-string": "0.0.1",
"babel-preset-env": "^1.5.2",
"babelify": "^8.0.0",
"css-mqpacker": "^6.0.1",
"cssnano": "^4.0.0",
"eslint": "^6.2.2",
"eslint-config-wordpress": "^2.0.0",
"node-underscorify": "~0.0.14",
"nodemon": "^1.11.0",
"pkgify": "^1.0.0",
"postcss": "^7.0.0",
"postcss-cli": "^6.1.0",
"postcss-custom-properties": "^7.0.0",
"postcss-hexrgba": "^1.0.2",
"postcss-import": "^11.0.0",
"postcss-mixins": "^6.2.2",
"postcss-nested": "^3.0.0",
"postcss-utilities": "^0.8.4",
"rtlcss": "^2.2.0",
"uglify-js": "^3.0.18"
},
"scripts": {
"uglifyjs": "find assets/js -type f -name '*.js' ! -name '*.min.js' -maxdepth 1 | while read FILE ; do uglifyjs \"${FILE}\" -o \"${FILE%.js}.min.js\" ; done",
"rtlcss": "rtlcss assets/css/style.css assets/css/style-rtl.css",
"build:css": "postcss assets/css/src/style.css -o assets/css/style.css && npm run rtlcss",
"build:js": "browserify assets/js/src/admin-menu-manager.js -o assets/js/admin-menu-manager.js && npm run uglifyjs",
"build": "npm run build:css && npm run build:js",
"lint": "eslint .",
"watch:css": "nodemon --watch assets/css/src -e css -x 'npm run build:css'",
"watch:js": "nodemon --watch assets/js/src -e js -x 'npm run build:js'",
"watch": "nodemon --watch assets/css/src --watch assets/js/src -e css,js -x 'npm run build'"
},
"browserify": {
"debug": true,
"transform": [
"babelify",
"node-underscorify",
[
"pkgify",
{
"packages": {
"collections": "./assets/js/src/collections",
"models": "./assets/js/src/models",
"views": "./assets/js/src/views",
"templates": "./assets/js/src/templates"
}
}
]
],
"extensions": [
".html"
]
}
}