@civ-clone/base-city-specialist-scientist 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +2 -2
- package/Scientist.d.ts +3 -0
- package/Scientist.js +9 -0
- package/Scientist.js.map +1 -0
- package/Scientist.ts +5 -0
- package/package.json +39 -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
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# base-city-specialist-scientist
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
`Scientist`: a city specialist, one who researches, a class only (no `main`): a game's rules offer it and say what it yields.
|
package/Scientist.d.ts
ADDED
package/Scientist.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Scientist = void 0;
|
|
4
|
+
const Specialist_1 = require("@civ-clone/core-city/Specialist");
|
|
5
|
+
class Scientist extends Specialist_1.default {
|
|
6
|
+
}
|
|
7
|
+
exports.Scientist = Scientist;
|
|
8
|
+
exports.default = Scientist;
|
|
9
|
+
//# sourceMappingURL=Scientist.js.map
|
package/Scientist.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scientist.js","sourceRoot":"","sources":["Scientist.ts"],"names":[],"mappings":";;;AAAA,gEAAyD;AAEzD,MAAa,SAAU,SAAQ,oBAAU;CAAG;AAA5C,8BAA4C;AAE5C,kBAAe,SAAS,CAAC"}
|
package/Scientist.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@civ-clone/base-city-specialist-scientist",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "The Scientist class: a city specialist, one who researches.",
|
|
5
|
+
"repository": "git@github.com:civ-clone/base-city-specialist-scientist.git",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"typescript",
|
|
8
|
+
"civilization"
|
|
9
|
+
],
|
|
10
|
+
"author": "dom111 <dom111@users.noreply.github.com>",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"private": false,
|
|
13
|
+
"files": [
|
|
14
|
+
"Scientist.js",
|
|
15
|
+
"Scientist.d.ts",
|
|
16
|
+
"Scientist.js.map",
|
|
17
|
+
"Scientist.ts"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "npm run ts:compile && npm run prettier:format",
|
|
21
|
+
"prettier:check": "prettier --config .prettierrc --check '**/*.ts'",
|
|
22
|
+
"prettier:format": "prettier --config .prettierrc '**/*.ts' --write",
|
|
23
|
+
"test": "ts-mocha ./tests/*.test.ts",
|
|
24
|
+
"ts:compile": "tsc --build tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@civ-clone/core-data-object": "^0.1.19",
|
|
28
|
+
"@civ-clone/core-rule": "^0.1.9",
|
|
29
|
+
"@types/chai": "^4.0.0",
|
|
30
|
+
"@types/mocha": "^10.0.0",
|
|
31
|
+
"@types/node": "^16.0.0",
|
|
32
|
+
"chai": "^4.0.0",
|
|
33
|
+
"mocha": "^10.0.0",
|
|
34
|
+
"prettier": "^2.8.8",
|
|
35
|
+
"ts-mocha": "^10.0.0",
|
|
36
|
+
"typescript": "^4.9.5"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@civ-clone/core-city": "^0.1.24"
|
|
40
|
+
}
|
|
41
|
+
}
|