-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
161 lines (161 loc) · 4.95 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "scripts-n-styles",
"version": "4.0.0-alpha-2",
"description": "Dev for the WP plugin",
"author": "unFocus Projects",
"license": "GPL-3.0",
"homepage": "https://wordpress.org/plugins/scripts-n-styles/",
"scripts": {
"docker-clean": "docker-compose down -v --remove-orphans",
"cleanup": "brew cleanup && brew prune ; npm cache verify ; docker system prune",
"bash": "docker-compose run wordpress /bin/bash",
"savedb": "npm start && docker-compose exec mysql sh -c 'exec mysqldump wordpress -uroot -p\"$MYSQL_ROOT_PASSWORD\"' > ./initdb/data.sql",
"wp": "npm start && docker run -it --rm --volumes-from wordpress --network container:wordpress wordpress:cli",
"update": "brew update && brew upgrade ; npm update -g && npm update ; composer self-update && composer update ; docker-compose pull",
"docker-save-down": "npm run savedb && docker-compose down",
"start": "./bin/docker-ready.sh",
"stop": "docker-compose down",
"gulp": "gulp",
"build": "npm run gulp build",
"dev": "npm start && npm run gulp dev",
"preinstall": "npm run add-localhost && npm run add-ssl",
"postinstall": "npm start && docker-compose down && composer install",
"add-localhost": "URL=scriptsnstyles.test ; grep -qxF \"127.0.0.1\t${URL}\" /etc/hosts && echo 'host record already exists' || ( echo \"127.0.0.1\t$URL\n\" | sudo tee -a /etc/hosts > /dev/null && echo 'host record added' )",
"add-ssl": "./bin/ssl.sh",
"remove-ca": "npm run remove-ca:remove-trust-cert && rm -R ~/.localssl",
"remove-ca:remove-trust-cert": "security find-certificate -c 'Localhost SSL' -a -Z | sudo awk '/SHA-1/{system(\"security delete-certificate -Z \"$NF)}'"
},
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/unFocus/Scripts-n-Styles.git"
},
"bugs": {
"url": "https://github.com/unFocus/Scripts-n-Styles/issues"
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"babel": {
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage",
"corejs": 3
}
]
],
"plugins": [
"@babel/plugin-transform-runtime",
"transform-vue-jsx"
]
},
"postcss": {
"plugins": {
"autoprefixer": true,
"cssnano": true
}
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": "wordpress",
"root": true,
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
}
},
"eslintIgnore": [
"**/*.min.js",
"node_modules/*",
"bower_components/*",
"vendor/*",
"dist/codemirror/*",
"dist/legacy/*",
"html/*"
],
"stylelint": {
"extends": "stylelint-config-wordpress",
"ignoreFiles": [
"dist/css/*.css",
"**/*.md"
]
},
"dependencies": {
"@babel/polyfill": "^7.10.4",
"@babel/runtime": "^7.10.5",
"chosen-js": "^1.8.7",
"clean-css": "^4.2.3",
"codemirror": "^5.56.0",
"coffeescript": "^2.5.1",
"core-js": "^3.6.5",
"glob": "^7.1.6",
"jquery": "^3.5.1",
"register-service-worker": "^1.7.1",
"vue": "^2.6.11",
"vue-class-component": "^7.2.4",
"vue-property-decorator": "^9.0.0",
"vue-router": "^3.3.4",
"vuex": "^3.5.1"
},
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/register": "^7.10.5",
"@wordpress/browserslist-config": "^2.7.0",
"autoprefixer": "^9.8.5",
"babel-eslint": "^10.1.0",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^8.1.0",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-vue-jsx": "^3.7.0",
"babel-preset-env": "^1.7.0",
"base64-inline-loader": "^1.1.1",
"browser-sync": "^2.26.10",
"css-loader": "^3.6.0",
"cssnano": "^4.1.10",
"cssnano-preset-default": "^4.0.7",
"eslint": "^7.5.0",
"eslint-config-wordpress": "^2.0.0",
"file-loader": "^6.0.0",
"gulp": "^4.0.2",
"gulp-concat": "^2.6.1",
"gulp-footer": "^2.0.2",
"gulp-header": "^2.0.9",
"gulp-less": "^4.0.1",
"gulp-postcss": "^8.0.0",
"gulp-sass": "^4.1.0",
"gulp-sourcemaps": "^2.6.5",
"gulp-uglify-es": "^2.0.0",
"imports-loader": "^1.1.0",
"less": "^3.12.2",
"less-loader": "^6.2.0",
"node-sass": "^4.14.1",
"postcss": "^7.0.32",
"postcss-loader": "^3.0.0",
"sass-loader": "^9.0.2",
"script-loader": "^0.7.2",
"style-loader": "^1.2.1",
"stylelint": "^13.6.1",
"stylelint-config-wordpress": "^17.0.0",
"stylelint-csstree-validator": "^1.8.0",
"typescript": "^3.9.7",
"url-loader": "^4.1.0",
"vue-loader": "^15.9.3",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.11",
"webpack": "^4.43.0",
"webpack-dev-middleware": "^3.7.2",
"webpack-hot-middleware": "^2.25.0"
},
"keywords": [
"scripts-n-styles",
"wordpress",
"codemirror"
]
}