Arquivo package.json
Resumo sobre o arquivo package.json
Esse arquivo é responsável pelos comandos disponíveis no projeto. Veja a seguir a descrição resumida do código:
{
"name": "template5",
"repository": "gitlab:vnda/templates/template5",
"version": "2.0.0",
"bugs": {
"url": "https://gitlab.com/vnda/templates/template5/-/issues"
},
"config": {
"liquid": "4.0.3",
"url": "https://www.template5.com.br",
"nameprod": "www.template5.com.br",
"debug": "true"
},
"scripts": {
"wiki": "run-script-os",
"wiki:default": "git submodule add [email protected]:vnda/templates/$npm_package_name.wiki.git",
"wiki:win32": "git submodule add [email protected]:vnda/templates/%npm_package_name%.wiki.git",
"dev": "run-script-os",
"dev:default": "cd ../build && gulp default --store=$npm_package_name --liquid=$npm_package_config_liquid --debug=$npm_package_config_debug --preview=$npm_config_preview",
"dev:win32": "cd ../build && gulp default --store=%npm_package_name% --liquid=%npm_package_config_liquid% --debug=%npm_package_config_debug% --preview=%npm_config_preview%",
"update": "git submodule init && git submodule update",
"sync": "run-script-os",
"sync:default": "cd ../build && gulp sync --store=$npm_package_name --liquid=$npm_package_config_liquid --debug=$npm_package_config_debug --preview=$npm_config_preview",
"sync:win32": "cd ../build && gulp sync --store=%npm_package_name% --liquid=%npm_package_config_liquid% --debug=%npm_package_config_debug% --preview=%npm_config_preview%",
"list-previews": "run-script-os",
"list-previews:default": "cd ../build && gulp listPreviews --store=$npm_package_name --liquid=$npm_package_config_liquid --name_prod=$npm_package_config_nameprod",
"list-previews:win32": "cd ../build && gulp listPreviews --store=%npm_package_name% --liquid=%npm_package_config_liquid% --name_prod=%npm_package_config_nameprod%",
"vndajs": "run-script-os",
"vndajs:default": "cd ../build && gulp getVndaJs --store=$npm_package_name --liquid=$npm_package_config_liquid",
"vndajs:win32": "cd ../build && gulp getVndaJs --store=%npm_package_name% --liquid=%npm_package_config_liquid%",
"deploy": "run-script-os",
"deploy:default": "cd ../build && gulp deploy --store=$npm_package_name --liquid=$npm_package_config_liquid --name_prod=$npm_package_config_nameprod",
"deploy:win32": "cd ../build && gulp deploy --store=%npm_package_name% --liquid=%npm_package_config_liquid% --name_prod=%npm_package_config_nameprod%"
},
"author": "Vnda - Tecnologia em Ecommerce",
"license": "MIT",
"devDependencies": {
"jquery": "^3.6.0",
"mmenu-js": "^9.1.1",
"prettier": "^2.5.1",
"run-script-os": "^1.0.7",
"swiper": "^7.3.1",
"vanilla-lazyload": "^12.4.0",
"vue": "^2.6.12"
}
}
Veja os comandos que você pode utilizar no projeto em Comandos disponíveis. É possível que esse arquivo tenha sofrido atualizações, por isso, recomendamos que você confira o arquivo
package.json
para garantir que os comandos disponíveis que você consulta estão atualizados.
Updated about 1 year ago