|
1 | 1 | { |
2 | 2 | "name": "cezerin", |
3 | 3 | "version": "0.11.0", |
4 | | - "description": "Cezerin is open source e-commerce solution, powered by Node.js and React. https://cezerin.com", |
| 4 | + "description": "Cezerin allow you to create online store with full-stack JavaScript. https://cezerin.com", |
5 | 5 | "keywords": [ |
6 | 6 | "cezerin", |
7 | 7 | "e-commerce", |
|
26 | 26 | "url": "https://github.com/cezerin/cezerin" |
27 | 27 | }, |
28 | 28 | "scripts": { |
29 | | - "clear:admin": "rm ./public/admin-assets/js/app-*; rm ./public/admin-assets/js/vendor-*; rm ./public/admin-assets/css/bundle-*", |
30 | | - "clear:store": "rm ./public/assets/js/app-*; rm ./public/assets/js/theme-*", |
31 | | - "dev:admin": "webpack -d --config webpack.config.admin.js --watch --progress --colors", |
32 | | - "dev:store": "webpack -d --config webpack.config.store.js --watch --progress --colors", |
33 | | - "dev:server": "babel src -d dist --watch", |
34 | | - "dev:start": "nodemon --watch dist --watch public/assets dist/index.js", |
35 | | - "dev": "npm run dev:store & npm run dev:admin & npm run dev:server & npm run dev:start", |
36 | | - "theme:update": "cd ./themes/current && npm run build && cd ../../ && npm install theme && ./scripts/theme-copy-assets.sh", |
| 29 | + "clean:admin": "rm -f ./public/admin-assets/js/app-*.js; rm -f ./public/admin-assets/js/vendor-*.js; rm -f ./public/admin-assets/css/app-*.css", |
| 30 | + "clean:store": "rm -f ./public/assets/js/app-*.js; rm -f ./public/assets/js/theme-*.js", |
| 31 | + "compile:dev": "babel src -d dist --watch", |
| 32 | + "compile": "babel src -d dist --quiet", |
| 33 | + "webpack:admin:dev": "npm run clean:admin && webpack -d --config webpack.config.admin.js --watch --progress --colors", |
| 34 | + "webpack:store:dev": "npm run clean:store && webpack -d --config webpack.config.store.js --watch --progress --colors", |
| 35 | + "webpack:admin:prod": "npm run clean:admin && NODE_ENV=production webpack -p --config webpack.config.admin.js", |
| 36 | + "webpack:store:prod": "npm run clean:store && NODE_ENV=production webpack -p --config webpack.config.store.js", |
37 | 37 | "theme:install": "./scripts/theme-install.sh", |
38 | 38 | "theme:export": "./scripts/theme-export.sh", |
39 | | - "build:admin": "NODE_ENV=production webpack -p --config webpack.config.admin.js", |
40 | | - "build:store": "NODE_ENV=production webpack -p --config webpack.config.store.js", |
41 | | - "build:server": "babel src -d dist --quiet", |
42 | | - "build:theme": "npm run theme:update --silent && npm run build:store", |
43 | | - "build": "npm run theme:update --silent && npm run build:server && npm run build:store && npm run build:admin", |
| 39 | + "theme:copy": "cd ./themes/current && npm run build && cd ../../ && npm install theme && ./scripts/theme-copy-assets.sh", |
| 40 | + "theme:build:dev": "npm run theme:copy && npm run webpack:store:dev", |
| 41 | + "theme:build:prod": "npm run theme:copy --silent && npm run webpack:store:prod", |
| 42 | + "build:dev": "npm run compile:dev & npm run webpack:store:dev & npm run webpack:admin:dev", |
| 43 | + "build": "npm run compile && npm run theme:build:prod && npm run webpack:admin:prod", |
| 44 | + "start:dev": "nodemon --watch dist --watch public/assets dist/index.js", |
44 | 45 | "start": "NODE_ENV=production node dist/index.js" |
45 | 46 | }, |
46 | 47 | "dependencies": { |
|
0 commit comments