mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
fix runner compile step
This commit is contained in:
parent
cf1efc883a
commit
7165eaa867
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user