fix runner compile step

This commit is contained in:
Dank074 2021-07-27 16:08:18 -05:00
parent cf1efc883a
commit 7165eaa867
3 changed files with 29 additions and 20 deletions

View File

@ -2,7 +2,7 @@ image: node:15.6
stages:
- test
- build
- compile
ESLinter:
@ -15,16 +15,12 @@ ESLinter:
paths:
- node_modules
# Build Nitro:
# stage: build
# script:
# - npm i
# - npm run build-prod
# cache:
# key: ${CI_COMMIT_BRANCH}
# paths:
# - node_modules
# artifacts:
# expire_in: 2 weeks
# paths:
# - dist/*
Compile:
stage: compile
script:
- npm i
- npm run compile
cache:
key: ${CI_COMMIT_BRANCH}
paths:
- node_modules

View File

@ -1,6 +1,10 @@
{
"name": "nitro-renderer",
"version": "1.0.0",
"scripts": {
"compile": "tsc --project ./tsconfig.json",
"eslint": "eslint ./src --fix"
},
"private": true,
"dependencies": {
"@pixi/filter-adjustment": "^4.1.3",

View File

@ -9,18 +9,27 @@
"moduleResolution": "node",
"esModuleInterop": true,
"importHelpers": true,
"isolatedModules": true,
"resolveJsonModule": true,
"downlevelIteration": true,
"allowSyntheticDefaultImports": true,
"target": "es2015",
"module": "es6",
"allowJs": true,
"skipLibCheck": true,
"noEmit": true,
"target": "es5",
"lib": [
"es2018",
"dom"
"dom",
"dom.iterable",
"esnext"
],
"module": "esnext",
"paths": {
"mini-signals": [
"node_modules/resource-loader/typings/mini-signals.d.ts"
"node_modules/mini-signals/index.js"
]
},
}
},
"include": [
"src"
]
}