-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
178 lines (178 loc) · 8.49 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "ninja",
"version": "9.2.0",
"description": "The feature packed, lightning fast boilerplate we use at Graffino for building modern responsive static and WordPress powered websites.",
"private": false,
"scripts": {
"[Ninja] => Resonable Defaults": "Reasonable defaults: dev, static, build for quick access.",
"ninja:init": "node bin/init.js",
"dev": "yarn wp:dev --progress",
"wp": "yarn wp:dev --progress",
"build": "yarn wp:build --progress",
"[Ninja] => Webpack Builds": "All available Webpack builds.",
"webpack:wp:dev": "echo '\n[Ninja] => Running WordPress development build... \n'; webpack --mode=development --watch --config webpack.wordpress.js",
"webpack:wp:build": "echo '\n[Ninja] => Running WordPress production build... \n'; webpack --mode=production --config webpack.wordpress.prod.js",
"[Ninja] => WordPress Management": "WordPress management scripts for dev, build, setup, wp database scripts, file syncing, etc. Remote syncing *requires* rsync (brew install rsync).",
"wp:init": "node bin/init-wp.js",
"wp:dev": "yarn wp:uploads:symlink --no-confirm; yarn wp:languages:symlink --no-confirm; yarn webpack:wp:dev",
"wp:build": "yarn node:install; yarn composer:install; yarn wp:clean --no-confirm; yarn wp:uploads:symlink --no-confirm; yarn wp:languages:symlink --no-confirm; yarn webpack:wp:build --progress",
"wp:setup": "echo '\n[Ninja] => Installing WordPress... \n'; yarn node:install; yarn composer:install; yarn wp:clean --no-confirm; yarn wp:db:init --no-confirm; yarn wp:uploads:symlink --no-confirm; yarn wp:languages:symlink --no-confirm",
"wp:update": "echo '\n[Ninja] => Updating WordPress... \n'; yarn composer:update; yarn wp:clean --no-confirm; yarn wp:uploads:symlink --no-confirm",
"wp:clean": "node bin/clean-wp.js",
"wp:db:init": "node bin/db-init.js",
"wp:db:migrate": "node bin/db-migrate.js",
"wp:db:dump": "node bin/db-dump.js",
"wp:languages:symlink": "node bin/languages-symlink.js",
"wp:uploads:symlink": "node bin/uploads-symlink.js",
"wp:uploads:pull-remote": "node bin/uploads-pull-remote.js",
"wp:uploads:push-remote": "node bin/uploads-push-remote.js",
"wp:uploads:push-staging": "node bin/uploads-push-staging.js",
"[Ninja] => Utilities": "Utilities for cleaning all temporary files, bumping version using semver.",
"clean:all": "node bin/clean-all.js",
"bump": "node bin/bump.js",
"[Ninja] => Dependencies Management": "Composer and node dependency management.",
"composer:install": "echo '\n[Ninja] => Installing composer modules... \n'; composer install --prefer-dist",
"composer:update": "echo '\n[Ninja] => Updating composer modules... \n'; composer update --prefer-dist",
"composer:outdated": "echo '\n[Ninja] => Outdated composer modules... \n'; composer show --latest",
"node:install": "echo '\n[Ninja] => Installing node modules... \n'; yarn",
"node:outdated": "echo '\n[Ninja] => Outdated node modules... \n'; ncu",
"node:update": "echo '\n[Ninja] => Update node modules... \n'; ncu -u; yarn node:install",
"[Ninja] Git Scripts": "Several more comple git scripts used in deployment.",
"git:pull-merge-push": "echo '\n[Ninja] => Commiting changes...\n'; git add -A; git commit -m '[Ninja] Automatic deploy merge'; git pull -s recursive -X theirs --no-edit; echo '\n[Ninja] => Pushing changes...\n'; git push",
"git:pull-reset": "echo '\n[Ninja] => Pulling changes...\n'; git fetch --all; git clean -f; git reset --hard origin/$(git rev-parse --abbrev-ref HEAD)",
"[Ninja] => Regression Testing": "Regression testing suite.",
"test": "yarn test:regression",
"test:regression": "backstop test",
"test:regression:approve": "backstop approve",
"test:regression:reference": "backstop reference",
"test:regression:setup": "backstop init",
"[Ninja] => Code QA": "Linting and code standards prettifiers for JS and SCSS.",
"lint": "yarn lint:js; yarn lint:scss; yarn lint:php",
"lint:js": "echo '\n[Ninja] => Start linting JS...\n'; eslint src -c .eslintrc --ext js",
"lint:scss": "echo '\n[Ninja] => Start linting SCSS...\n'; stylelint 'src/styles/**/*.scss'",
"lint:php": "echo '\n[Ninja] => Start linting PHP...\n'; ./composer/vendor/bin/phpcs --standard=phpcs.xml --extensions=php ./wordpress",
"fix": "yarn fix:js; yarn fix:scss; yarn fix:php",
"fix:js": "echo '\n[Ninja] => Start fixing JS...\n'; ./node_modules/.bin/prettier-eslint --write \"$(pwd)/src/**/*.js\" --eslint-config-path \"$(pwd)/.eslintrc\"",
"fix:scss": "echo '\n[Ninja] => Start fixing SCSS...\n'; ./node_modules/.bin/prettier-stylelint --write 'src/**/*.scss'",
"fix:php": "echo '\n[Ninja] => Start fixing PHP...\n'; ./composer/vendor/bin/phpcbf --standard=phpcs.xml --extensions=php wordpress/"
},
"repository": "git@github.com:Graffino/ninja.git",
"author": "team@graffino.com",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-transform-runtime": "^7.19.1",
"@babel/preset-env": "^7.19.3",
"@degjs/module-loader": "^5.1.0",
"autoprefixer": "^10.4.12",
"babel-loader": "^8.2.5",
"browser-sync": "^2.27.10",
"browser-sync-webpack-plugin": "^2.3.0",
"browser-update": "^3.3.40",
"browserlist": "^1.0.1",
"clean-css": "^5.3.1",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.2.0",
"dotenv": "^16.0.3",
"envfile": "^6.18.0",
"eslint": "8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.1",
"eslint-webpack-plugin": "^3.2.0",
"fs": "^0.0.2",
"fs-extra": "^10.1.0",
"glob-all": "^3.3.0",
"image-webpack-loader": "^8.1.0",
"imagemin-mozjpeg": "9.0.0",
"imagemin-webpack-plugin": "^2.4.2",
"install": "^0.13.0",
"js-yaml": "^4.1.0",
"mariadb": "^3.0.1",
"markup-inline-loader": "^4.0.0",
"mini-css-extract-plugin": "^2.6.1",
"node-sass": "^7.0.3",
"node-zip": "^1.1.1",
"normalize.css": "^8.0.1",
"npm-check-updates": "^16.3.4",
"path": "^0.12.7",
"postcss": "^8.4.17",
"postcss-loader": "^7.0.1",
"postcss-sorting": "^7.0.1",
"preload-webpack-plugin": "3.0.0-beta.4",
"prettier": "^2.7.1",
"prettier-eslint": "^15.0.1",
"prettier-eslint-cli": "^7.1.0",
"prettier-stylelint": "https://github.com/Graffino/prettier-stylelint",
"pristinejs": "^0.1.9",
"purgecss-webpack-plugin": "^5.0.0",
"replace-in-file": "^6.3.5",
"sass": "^1.55.0",
"sass-loader": "^13.0.2",
"semver": "^7.3.7",
"sharp": "^0.31.1",
"simple-git": "^3.14.1",
"style-loader": "^3.3.1",
"stylelint": "^14.13.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-sass-guidelines": "^9.0.1",
"stylelint-config-standard": "^28.0.0",
"stylelint-order": "^5.0.0",
"stylelint-prettier": "^2.0.0",
"stylelint-scss": "^4.3.0",
"stylelint-selector-bem-pattern": "^2.1.1",
"stylelint-webpack-plugin": "^3.3.0",
"svg-spritemap-webpack-plugin": "^4.5.0",
"svg-transform-loader": "^2.0.13",
"svgo": "^2.8.0",
"svgo-loader": "^3.0.1",
"symlink-dir": "^5.0.1",
"terser-webpack-plugin": "^5.3.6",
"unzipper": "^0.10.11",
"vue-loader": "^17.0.0",
"vue-resource": "^1.5.3",
"vue-template-compiler": "^2.7.10",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1",
"webpack-hot-middleware": "^2.25.2",
"webpack-merge": "^5.8.0",
"yesno": "^0.4.0"
},
"dependencies": {
"@babel/polyfill": "^7.12.1",
"@glidejs/glide": "^3.6.0",
"animate.css": "^4.1.1",
"animejs": "^3.2.1",
"aos": "^2.3.4",
"axios": "^0.27.2",
"body-scroll-lock": "^3.1.5",
"choices.js": "^10.1.0",
"countup.js": "^2.3.2",
"eslint-plugin-prettier": "^4.2.1",
"expose-loader": "^4.0.0",
"intersection-observer": "^0.12.2",
"is-mobile": "^3.1.1",
"jump.js": "^1.0.2",
"leaflet": "^1.9.1",
"leaflet.tilelayer.colorfilter": "^1.2.5",
"masonry-layout": "^4.2.2",
"micromodal": "^0.4.10",
"nouislider": "^15.6.1",
"plyr": "^3.7.2",
"pristinejs": "^0.1.9",
"rellax": "^1.12.1",
"scrollama": "^3.2.0",
"smoothscroll-polyfill": "^0.4.4",
"stickybits": "^3.7.11",
"vanilla-lazyload": "^17.8.3",
"vue": "^3.2.40",
"wnumb": "^1.2.0"
}
}