Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
os:
- linux
- osx
- windows
language: node_js
node_js:
- 'lts/*'
cache: yarn
install: yarn
script:
- yarn test
- yarn build
- yarn coveralls
- exit 0
5 changes: 1 addition & 4 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ const presets = [
},
],
[
'@babel/preset-react',
{
development: process.env.BABEL_ENV !== 'build',
},
'@babel/preset-react'
],
'@babel/preset-typescript',
]
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@
"build:typedefs": "lerna run build:typedefs --stream",
"test": "run-p test:tsc test:lint test:coverage",
"test:lint": "run-p -c test:lint:*",
"test:lint:ts": "tslint 'packages/**/*.ts{,x}'",
"test:lint:css": "stylelint 'packages/**/*.ts{,x}'",
"test:lint:ts": "tslint \"packages/**/*.ts{,x}\"",
"test:lint:css": "stylelint \"packages/**/*.ts{,x}\"",
"test:lint:md": "markdownlint ./docs/ ./packages/ ./testing/ ./*.md",
"test:coverage": "jest --coverage",
"test:tsc": "tsc",
"fix": "yarn test:lint:ts --fix",
"clean": "git clean -xfd",
"start": "yarn workspace @nastauk/graphics-core start"
}
}
}
2 changes: 1 addition & 1 deletion packages/core/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@nastauk/graphics-logger": "*"
},
"scripts": {
"build": "BABEL_ENV=build babel --root-mode upward src --out-dir dist --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments",
"build": "babel --root-mode upward src --out-dir dist --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments",
"build:typedefs": "tsc --project ./tsconfig.build.json",
"test": "echo \"No tests here.\"",
"start": "node dist/"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "NaSTAuk <contact@nasta.tv>",
"license": "MIT",
"scripts": {
"build": "BABEL_ENV=build babel --root-mode upward src --out-dir dist --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments",
"build": "babel --root-mode upward src --out-dir dist --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments",
"build:typedefs": "tsc --project ./tsconfig.build.json",
"test": "echo \"No tests here.\" "
}
Expand Down