Skip to content

Commit 009a973

Browse files
added build output for running complied src, modified forever process start script
1 parent f86c047 commit 009a973

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

.babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
"presets": ["@babel/preset-env"],
33
"plugins": [
44
["@babel/transform-runtime"]
5+
],
6+
"ignore": [
7+
"**/*.spec.js",
8+
"**/*.test.js"
59
]
610
}

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,5 +115,8 @@ dist
115115
.yarn/install-state.gz
116116
.pnp.*
117117

118-
# local
118+
# local environment and config files
119119
*.local
120+
121+
# compiled script
122+
build

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"test": "cross-env NODE_ENV=test mocha 'src/**/*.test.js'",
88
"start": "babel-node src",
9-
"start:forever": "forever start src"
9+
"start:forever": "forever start build",
10+
"build": "babel src --out-dir build"
1011
},
1112
"dependencies": {
1213
"forever": "^3.0.4",

0 commit comments

Comments
 (0)