@civ-clone/base-unit-submarine 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.gitattributes ADDED
@@ -0,0 +1,2 @@
1
+ **/*.js linguist-generated=true
2
+
@@ -0,0 +1,15 @@
1
+ name: Build and test application on push to remote
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v1
10
+ - uses: actions/setup-node@v1
11
+ with:
12
+ node-version: 12
13
+ - run: yarn install
14
+ - run: yarn prettier:check
15
+ # - run: yarn test
package/.prettierrc ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "semi": true,
3
+ "singleQuote": true
4
+ }
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Dom Hastings
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,4 @@
1
+ # base-unit-submarine
2
+
3
+ This is a template repo.
4
+
package/Submarine.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { Fortifiable } from '@civ-clone/base-unit-type-fortifiable/Fortifiable';
2
+ export declare class Submarine extends Fortifiable {}
3
+ export default Submarine;
package/Submarine.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Submarine = void 0;
4
+ const Fortifiable_1 = require("@civ-clone/base-unit-type-fortifiable/Fortifiable");
5
+ class Submarine extends Fortifiable_1.Fortifiable {
6
+ }
7
+ exports.Submarine = Submarine;
8
+ exports.default = Submarine;
9
+ //# sourceMappingURL=Submarine.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Submarine.js","sourceRoot":"","sources":["Submarine.ts"],"names":[],"mappings":";;;AAAA,mFAAgF;AAEhF,MAAa,SAAU,SAAQ,yBAAW;CAAG;AAA7C,8BAA6C;AAE7C,kBAAe,SAAS,CAAC"}
package/Submarine.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { Fortifiable } from '@civ-clone/base-unit-type-fortifiable/Fortifiable';
2
+
3
+ export class Submarine extends Fortifiable {}
4
+
5
+ export default Submarine;
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@civ-clone/base-unit-submarine",
3
+ "version": "0.1.0",
4
+ "repository": "git@github.com:civ-clone/base-unit-submarine.git",
5
+ "keywords": [
6
+ "typescript",
7
+ "civilization"
8
+ ],
9
+ "author": "dom111 <dom111@users.noreply.github.com>",
10
+ "license": "MIT",
11
+ "private": false,
12
+ "scripts": {
13
+ "build": "npm run ts:compile && npm run prettier:format",
14
+ "prettier:check": "prettier --config .prettierrc '**/*.ts'",
15
+ "prettier:format": "prettier --config .prettierrc '**/*.ts' --write",
16
+ "ts:compile": "tsc --build tsconfig.json"
17
+ },
18
+ "devDependencies": {
19
+ "@types/node": "^14.11.2",
20
+ "prettier": "^2.1.2",
21
+ "typescript": "^4.0.3"
22
+ },
23
+ "dependencies": {
24
+ "@civ-clone/base-unit-type-fortifiable": "^0.1.0"
25
+ }
26
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "compilerOptions": {
3
+ "declaration": true,
4
+ "lib": [
5
+ "es2019"
6
+ ],
7
+ "module": "commonjs",
8
+ "sourceMap": true,
9
+ "strict": true,
10
+ "target": "ES2018"
11
+ },
12
+ "exclude": [
13
+ "node_modules",
14
+ "tests/*.test.ts"
15
+ ]
16
+ }