- lets try a package.yaml instead
This commit is contained in:
parent
6ba628f80e
commit
41da641ab9
@ -1,100 +0,0 @@
|
||||
{
|
||||
"name": "scwrypts",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"description": "scwrypts integration for typescript",
|
||||
"scripts": {
|
||||
"build": "rm -rf ./dist && tsc",
|
||||
"test": "jest",
|
||||
"lint": "eslint . && prettier --check src/",
|
||||
"format": "prettier --write src/"
|
||||
},
|
||||
"author": "Wryn (yage) Wagner",
|
||||
"license": "GPL-3.0",
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^29.7.0",
|
||||
"@types/jest": "^29.5.12",
|
||||
"@types/node": "^20.11.19",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
||||
"@typescript-eslint/parser": "^7.0.2",
|
||||
"eslint": "^8.56.0",
|
||||
"jest": "^29.7.0",
|
||||
"prettier": "^3.2.5",
|
||||
"ts-jest": "^29.1.2",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.3.3",
|
||||
"uuid": "^9.0.1"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"ignorePatterns": [
|
||||
"dist",
|
||||
"node_modules"
|
||||
],
|
||||
"env": {
|
||||
"node": true,
|
||||
"es2021": true
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"files": [
|
||||
".eslintrc.{js,cjs}"
|
||||
],
|
||||
"parserOptions": {
|
||||
"sourceType": "script"
|
||||
}
|
||||
}
|
||||
],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module"
|
||||
},
|
||||
"plugins": [
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"rules": {
|
||||
"linebreak-style": [
|
||||
"error",
|
||||
"unix"
|
||||
],
|
||||
"quotes": [
|
||||
"error",
|
||||
"single"
|
||||
],
|
||||
"semi": [
|
||||
"error",
|
||||
"always"
|
||||
],
|
||||
"comma-dangle": [
|
||||
"error",
|
||||
"always-multiline"
|
||||
]
|
||||
}
|
||||
},
|
||||
"prettier": {
|
||||
"printWidth": 120,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "all"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "ts-jest",
|
||||
"clearMocks": true,
|
||||
"moduleNameMapper": {
|
||||
"^(\\.{1,2}/.*)\\.js$": "$1"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"execa": "^8.0.1"
|
||||
}
|
||||
}
|
86
zx/lib/package.yaml
Normal file
86
zx/lib/package.yaml
Normal file
@ -0,0 +1,86 @@
|
||||
---
|
||||
name: scwrypts
|
||||
author: Wryn (yage) Wagner
|
||||
description: scwrypts integration for typescript
|
||||
license: GPL-3.0
|
||||
type: module
|
||||
main: dist/index.js
|
||||
|
||||
files:
|
||||
- dist
|
||||
|
||||
scripts:
|
||||
build: rm -rf ./dist && tsc
|
||||
test: jest
|
||||
lint: eslint . && prettier --check src/
|
||||
format: prettier --write src/
|
||||
|
||||
#####################################################################
|
||||
|
||||
dependencies:
|
||||
execa: ^8.0.1
|
||||
|
||||
devDependencies:
|
||||
'@jest/globals': ^29.7.0
|
||||
'@types/jest': ^29.5.12
|
||||
'@types/node': ^20.11.19
|
||||
'@types/uuid': ^9.0.8
|
||||
'@typescript-eslint/eslint-plugin': ^7.0.2
|
||||
'@typescript-eslint/parser': ^7.0.2
|
||||
eslint: ^8.56.0
|
||||
jest: ^29.7.0
|
||||
prettier: ^3.2.5
|
||||
ts-jest: ^29.1.2
|
||||
ts-node: ^10.9.2
|
||||
typescript: ^5.3.3
|
||||
uuid: ^9.0.1
|
||||
|
||||
#####################################################################
|
||||
|
||||
eslintConfig:
|
||||
ignorePatterns:
|
||||
- dist
|
||||
- node_modules
|
||||
env:
|
||||
node: true
|
||||
es2021: true
|
||||
extends:
|
||||
- eslint:recommended
|
||||
- plugin:@typescript-eslint/recommended
|
||||
overrides:
|
||||
- env:
|
||||
node: true
|
||||
files:
|
||||
- .eslintrc.{js,cjs}
|
||||
parserOptions:
|
||||
sourceType: script
|
||||
parser: '@typescript-eslint/parser'
|
||||
parserOptions:
|
||||
ecmaVersion: latest
|
||||
sourceType: module
|
||||
plugins:
|
||||
- '@typescript-eslint'
|
||||
rules:
|
||||
linebreak-style:
|
||||
- error
|
||||
- unix
|
||||
quotes:
|
||||
- error
|
||||
- single
|
||||
semi:
|
||||
- error
|
||||
- always
|
||||
comma-dangle:
|
||||
- error
|
||||
- always-multiline
|
||||
|
||||
prettier:
|
||||
printWidth: 120
|
||||
singleQuote: true
|
||||
trailingComma: all
|
||||
|
||||
jest:
|
||||
preset: ts-jest
|
||||
clearMocks: true
|
||||
moduleNameMapper:
|
||||
^(\.{1,2}/.*)\.js$: $1
|
Loading…
Reference in New Issue
Block a user