mirror of
https://github.com/elyby/emails-renderer.git
synced 2024-12-23 13:49:48 +05:30
Add travis config
This commit is contained in:
parent
3f2146f45f
commit
ef81cf7270
13
.travis.yml
Normal file
13
.travis.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "12"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
yarn: true
|
||||||
|
directories:
|
||||||
|
- node_modules
|
||||||
|
|
||||||
|
script:
|
||||||
|
- yarn lint
|
||||||
|
- yarn tsc
|
||||||
|
- yarn build:quiet
|
@ -20,13 +20,16 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/elyby/emails-renderer#README",
|
"homepage": "https://github.com/elyby/emails-renderer#README",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"clean": "rm -rf dist/",
|
||||||
"start": "webpack-dev-server --mode=development --application=devtool --progress --colors",
|
"start": "webpack-dev-server --mode=development --application=devtool --progress --colors",
|
||||||
"start:server": "webpack --mode=development --application=server --progress --colors && node dist/app.js",
|
"start:server": "webpack --mode=development --application=server --progress --colors && node dist/app.js",
|
||||||
"lint": "eslint \"{scripts,src,webpack-utils}/**/*.{js,jsx,ts,tsx}\"",
|
"lint": "eslint \"{scripts,src,webpack-utils}/**/*.{js,jsx,ts,tsx}\"",
|
||||||
"i18n:collect": "./scripts/i18n-collect/index.js",
|
"i18n:collect": "./scripts/i18n-collect/index.js",
|
||||||
"i18n:pull": "node scripts/i18n-crowdin/index.js pull",
|
"i18n:pull": "node scripts/i18n-crowdin/index.js pull",
|
||||||
"i18n:push": "node scripts/i18n-crowdin/index.js push",
|
"i18n:push": "node scripts/i18n-crowdin/index.js push",
|
||||||
"build": "rm -rf dist/ && webpack --mode=production --application=server --progress --colors"
|
"build": "yarn run clean && yarn run build:webpack --progress",
|
||||||
|
"build:quiet": "yarn run clean && yarn run build:webpack --quiet",
|
||||||
|
"build:webpack": "webpack --mode=production --application=server --colors --bail"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fastify": "^2.4.1",
|
"fastify": "^2.4.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user