Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 3.0.12 #12

Merged
merged 10 commits into from
Jul 3, 2020
1 change: 1 addition & 0 deletions commons/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/
5 changes: 5 additions & 0 deletions commons/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100
}
326 changes: 326 additions & 0 deletions commons/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions commons/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "postybirb-plus-commons",
"version": "1.0.0",
"description": "Common classes, interfaces, enums, etc. for PostyBirb that would be shared between UI and Electron-App",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"clean": "rimraf dist",
"lint": "tslint -p tsconfig.json -c tslint.json",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\""
},
"author": "Michael DiCarlo",
"license": "ISC",
"devDependencies": {
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"tslint": "^6.1.2",
"typescript": "^3.9.5"
}
}
Empty file added commons/src/index.ts
Empty file.
17 changes: 17 additions & 0 deletions commons/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"compilerOptions": {
"declaration": true,
"declarationDir": "./dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"module": "commonjs",
"moduleResolution": "node",
"noImplicitAny": true,
"outDir": "./dist",
"skipLibCheck": true,
"strict": true,
"target": "es2017",
},
"include": ["./src"],
"exclude": ["node_modules", "dist"]
}
18 changes: 18 additions & 0 deletions commons/tslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {
"no-unused-expression": true
},
"rules": {
"quotemark": [true, "single"],
"member-access": [false],
"ordered-imports": [false],
"max-line-length": [true, 150],
"member-ordering": [false],
"interface-name": [false],
"arrow-parens": false,
"object-literal-sort-keys": false
},
"rulesDirectory": []
}
Loading