@tsparticles/template-tictactoe 4.1.3
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/package.json +14 -0
- package/scripts/prebuild.js +65 -0
- package/template/vanilla/README.md +10 -0
- package/template/vanilla/gitignore +14 -0
- package/template/vanilla/index.html +32 -0
- package/template/vanilla/package.json +11 -0
- package/template/vanilla/src/game/board.ts +49 -0
- package/template/vanilla/src/game/confetti-effect.ts +20 -0
- package/template/vanilla/src/game/game-state.ts +91 -0
- package/template/vanilla/src/main.ts +57 -0
- package/template/vanilla/src/style.css +97 -0
- package/template/vanilla/tsconfig.json +19 -0
- package/template/vanilla/vite.config.ts +5 -0
- package/template.json +13 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Matteo Bruni
|
|
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/package.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tsparticles/template-tictactoe",
|
|
3
|
+
"version": "4.1.3",
|
|
4
|
+
"private": false,
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"prebuild": "node scripts/prebuild.js",
|
|
10
|
+
"build": "pnpm run prebuild",
|
|
11
|
+
"build:ci": "pnpm run prebuild"
|
|
12
|
+
},
|
|
13
|
+
"gitHead": "0551736c55ae8eec3855a693af8a99b1b4420350"
|
|
14
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
const fs = require("fs-extra");
|
|
2
|
+
|
|
3
|
+
const libPackage = "./template.json";
|
|
4
|
+
|
|
5
|
+
const workspaceVersions = {
|
|
6
|
+
"@tsparticles/engine": require("../../../engine/package.json").version,
|
|
7
|
+
"@tsparticles/slim": require("../../../bundles/slim/package.json").version,
|
|
8
|
+
"@tsparticles/confetti": require("../../../bundles/confetti/package.json").version,
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
function resolveWorkspaceDependency(name) {
|
|
12
|
+
const libObj = JSON.parse(fs.readFileSync(libPackage, "utf-8"));
|
|
13
|
+
|
|
14
|
+
const allDeps = {
|
|
15
|
+
...libObj.package.dependencies,
|
|
16
|
+
...libObj.package.devDependencies,
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const spec = allDeps[name];
|
|
20
|
+
|
|
21
|
+
if (!spec?.startsWith("workspace:")) {
|
|
22
|
+
return spec;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const workspaceRange = spec.replace("workspace:", "");
|
|
26
|
+
|
|
27
|
+
if (workspaceRange.length > 0 && workspaceRange !== "*" && workspaceRange !== "^" && workspaceRange !== "~") {
|
|
28
|
+
return workspaceRange;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const version = workspaceVersions[name];
|
|
32
|
+
|
|
33
|
+
if (!version) {
|
|
34
|
+
throw new Error(`Cannot resolve workspace dependency version for ${name}`);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return workspaceRange === "^" || workspaceRange === "~" ? `${workspaceRange}${version}` : `^${version}`;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
fs.readFile(libPackage, function (error, data) {
|
|
41
|
+
if (error) {
|
|
42
|
+
throw error;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const text = data.toString();
|
|
46
|
+
const libObj = JSON.parse(text);
|
|
47
|
+
|
|
48
|
+
for (const dep of Object.keys(libObj.package.dependencies)) {
|
|
49
|
+
const resolved = resolveWorkspaceDependency(dep);
|
|
50
|
+
if (resolved) {
|
|
51
|
+
libObj.package.dependencies[dep] = resolved;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
for (const dep of Object.keys(libObj.package.devDependencies)) {
|
|
56
|
+
const resolved = resolveWorkspaceDependency(dep);
|
|
57
|
+
if (resolved) {
|
|
58
|
+
libObj.package.devDependencies[dep] = resolved;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
fs.writeFile(libPackage, JSON.stringify(libObj, undefined, 2), "utf-8", function () {
|
|
63
|
+
console.log("template.json dependencies updated successfully");
|
|
64
|
+
});
|
|
65
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>{{projectName}}</title>
|
|
7
|
+
</head>
|
|
8
|
+
<body>
|
|
9
|
+
<div id="app">
|
|
10
|
+
<h1>Tic-Tac-Toe</h1>
|
|
11
|
+
<div class="scoreboard">
|
|
12
|
+
<span>X: <strong id="scoreX">0</strong></span>
|
|
13
|
+
<span>Draws: <strong id="scoreDraw">0</strong></span>
|
|
14
|
+
<span>O: <strong id="scoreO">0</strong></span>
|
|
15
|
+
</div>
|
|
16
|
+
<div id="turnIndicator" class="turn">X's turn</div>
|
|
17
|
+
<div id="board" class="board">
|
|
18
|
+
<div class="cell" data-index="0"></div>
|
|
19
|
+
<div class="cell" data-index="1"></div>
|
|
20
|
+
<div class="cell" data-index="2"></div>
|
|
21
|
+
<div class="cell" data-index="3"></div>
|
|
22
|
+
<div class="cell" data-index="4"></div>
|
|
23
|
+
<div class="cell" data-index="5"></div>
|
|
24
|
+
<div class="cell" data-index="6"></div>
|
|
25
|
+
<div class="cell" data-index="7"></div>
|
|
26
|
+
<div class="cell" data-index="8"></div>
|
|
27
|
+
</div>
|
|
28
|
+
<button id="resetBtn" class="reset-btn">New Game</button>
|
|
29
|
+
</div>
|
|
30
|
+
<script type="module" src="/src/main.ts"></script>
|
|
31
|
+
</body>
|
|
32
|
+
</html>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type GameState, makeMove } from "./game-state";
|
|
2
|
+
import { fireConfetti } from "./confetti-effect";
|
|
3
|
+
|
|
4
|
+
const boardEl = document.getElementById("board") as HTMLDivElement;
|
|
5
|
+
const turnEl = document.getElementById("turnIndicator") as HTMLDivElement;
|
|
6
|
+
const scoreX = document.getElementById("scoreX") as HTMLSpanElement;
|
|
7
|
+
const scoreO = document.getElementById("scoreO") as HTMLSpanElement;
|
|
8
|
+
const scoreDraw = document.getElementById("scoreDraw") as HTMLSpanElement;
|
|
9
|
+
|
|
10
|
+
export function renderBoard(state: GameState): void {
|
|
11
|
+
const cells = boardEl.querySelectorAll(".cell");
|
|
12
|
+
|
|
13
|
+
cells.forEach((cell, i) => {
|
|
14
|
+
cell.textContent = state.board[i] ?? "";
|
|
15
|
+
cell.classList.toggle("taken", state.board[i] !== null);
|
|
16
|
+
cell.classList.toggle("win", state.winLine?.includes(i) ?? false);
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
if (!state.winner) {
|
|
20
|
+
turnEl.textContent = `${state.currentPlayer}'s turn`;
|
|
21
|
+
} else if (state.winner === "draw") {
|
|
22
|
+
turnEl.textContent = "It's a draw!";
|
|
23
|
+
} else {
|
|
24
|
+
turnEl.textContent = `${state.winner} wins!`;
|
|
25
|
+
fireConfetti();
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
scoreX.textContent = String(state.scores.X);
|
|
29
|
+
scoreO.textContent = String(state.scores.O);
|
|
30
|
+
scoreDraw.textContent = String(state.scores.draw);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function setupBoard(onMove: (index: number) => void): void {
|
|
34
|
+
boardEl.addEventListener("click", (e) => {
|
|
35
|
+
const cell = (e.target as HTMLElement).closest(".cell") as HTMLElement | null;
|
|
36
|
+
|
|
37
|
+
if (!cell) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
const index = parseInt(cell.dataset.index ?? "", 10);
|
|
42
|
+
|
|
43
|
+
if (isNaN(index)) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
onMove(index);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { confetti } from "@tsparticles/confetti";
|
|
2
|
+
|
|
3
|
+
export function fireConfetti(): void {
|
|
4
|
+
const count = 200;
|
|
5
|
+
const defaults = { origin: { y: 0.7 } };
|
|
6
|
+
|
|
7
|
+
function fire(particleRatio: number, opts: Record<string, unknown>): void {
|
|
8
|
+
confetti({
|
|
9
|
+
...defaults,
|
|
10
|
+
...opts,
|
|
11
|
+
particleCount: Math.floor(count * particleRatio),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
fire(0.25, { spread: 26, startVelocity: 55 });
|
|
16
|
+
fire(0.2, { spread: 60 });
|
|
17
|
+
fire(0.35, { spread: 100, decay: 0.91, scalar: 0.8 });
|
|
18
|
+
fire(0.1, { spread: 120, startVelocity: 25, decay: 0.92, scalar: 1.2 });
|
|
19
|
+
fire(0.1, { spread: 120, startVelocity: 45 });
|
|
20
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
const WIN_PATTERNS = [
|
|
2
|
+
[0, 1, 2],
|
|
3
|
+
[3, 4, 5],
|
|
4
|
+
[6, 7, 8],
|
|
5
|
+
[0, 3, 6],
|
|
6
|
+
[1, 4, 7],
|
|
7
|
+
[2, 5, 8],
|
|
8
|
+
[0, 4, 8],
|
|
9
|
+
[2, 4, 6],
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export type Player = "X" | "O";
|
|
13
|
+
|
|
14
|
+
export interface GameState {
|
|
15
|
+
board: (Player | null)[];
|
|
16
|
+
currentPlayer: Player;
|
|
17
|
+
winner: Player | "draw" | null;
|
|
18
|
+
winLine: number[] | null;
|
|
19
|
+
scores: { X: number; O: number; draw: number };
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function createGameState(): GameState {
|
|
23
|
+
return {
|
|
24
|
+
board: Array(9).fill(null),
|
|
25
|
+
currentPlayer: "X",
|
|
26
|
+
winner: null,
|
|
27
|
+
winLine: null,
|
|
28
|
+
scores: { X: 0, O: 0, draw: 0 },
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function makeMove(state: GameState, index: number): GameState {
|
|
33
|
+
if (state.board[index] || state.winner) {
|
|
34
|
+
return state;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const board = [...state.board];
|
|
38
|
+
board[index] = state.currentPlayer;
|
|
39
|
+
|
|
40
|
+
const result = checkWin(board);
|
|
41
|
+
|
|
42
|
+
if (result) {
|
|
43
|
+
const scores = { ...state.scores };
|
|
44
|
+
|
|
45
|
+
if (result.winner === "draw") {
|
|
46
|
+
scores.draw++;
|
|
47
|
+
} else {
|
|
48
|
+
scores[result.winner]++;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return {
|
|
52
|
+
...state,
|
|
53
|
+
board,
|
|
54
|
+
winner: result.winner,
|
|
55
|
+
winLine: result.winLine,
|
|
56
|
+
scores,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
...state,
|
|
62
|
+
board,
|
|
63
|
+
currentPlayer: state.currentPlayer === "X" ? "O" : "X",
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function resetBoard(state: GameState): GameState {
|
|
68
|
+
return {
|
|
69
|
+
...state,
|
|
70
|
+
board: Array(9).fill(null),
|
|
71
|
+
currentPlayer: "X",
|
|
72
|
+
winner: null,
|
|
73
|
+
winLine: null,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function checkWin(board: (Player | null)[]): { winner: Player | "draw"; winLine: number[] } | null {
|
|
78
|
+
for (const pattern of WIN_PATTERNS) {
|
|
79
|
+
const [a, b, c] = pattern;
|
|
80
|
+
|
|
81
|
+
if (board[a] && board[a] === board[b] && board[a] === board[c]) {
|
|
82
|
+
return { winner: board[a] as Player, winLine: pattern };
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
if (board.every((cell) => cell !== null)) {
|
|
87
|
+
return { winner: "draw", winLine: [] };
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import "./style.css";
|
|
2
|
+
import { tsParticles } from "@tsparticles/engine";
|
|
3
|
+
import { loadSlim } from "@tsparticles/slim";
|
|
4
|
+
import { createGameState, makeMove, resetBoard, type GameState } from "./game/game-state";
|
|
5
|
+
import { renderBoard, setupBoard } from "./game/board";
|
|
6
|
+
|
|
7
|
+
let state: GameState = createGameState();
|
|
8
|
+
|
|
9
|
+
const resetBtn = document.getElementById("resetBtn") as HTMLButtonElement;
|
|
10
|
+
|
|
11
|
+
function handleMove(index: number): void {
|
|
12
|
+
const newState = makeMove(state, index);
|
|
13
|
+
|
|
14
|
+
if (newState !== state) {
|
|
15
|
+
state = newState;
|
|
16
|
+
renderBoard(state);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function handleReset(): void {
|
|
21
|
+
state = resetBoard(state);
|
|
22
|
+
renderBoard(state);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
setupBoard(handleMove);
|
|
26
|
+
resetBtn.addEventListener("click", handleReset);
|
|
27
|
+
|
|
28
|
+
renderBoard(state);
|
|
29
|
+
|
|
30
|
+
(async () => {
|
|
31
|
+
await loadSlim(tsParticles);
|
|
32
|
+
|
|
33
|
+
await tsParticles.load({
|
|
34
|
+
id: "tsparticles",
|
|
35
|
+
options: {
|
|
36
|
+
fullScreen: { enable: true, zIndex: -1 },
|
|
37
|
+
background: { color: { value: "#0a0a1a" } },
|
|
38
|
+
fpsLimit: 60,
|
|
39
|
+
particles: {
|
|
40
|
+
number: { value: 30, density: { enable: true } },
|
|
41
|
+
color: { value: ["#6c5ce7", "#a29bfe"] },
|
|
42
|
+
shape: { type: "circle" },
|
|
43
|
+
opacity: { value: 0.2, random: true },
|
|
44
|
+
size: { value: { min: 1, max: 2 } },
|
|
45
|
+
move: {
|
|
46
|
+
enable: true,
|
|
47
|
+
speed: 0.5,
|
|
48
|
+
direction: "none",
|
|
49
|
+
random: true,
|
|
50
|
+
straight: false,
|
|
51
|
+
outModes: { default: "out" },
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
detectRetina: true,
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
})();
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
* {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
body {
|
|
6
|
+
margin: 0;
|
|
7
|
+
min-height: 100vh;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
background: #0a0a1a;
|
|
12
|
+
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
13
|
+
color: #fff;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
#app {
|
|
17
|
+
text-align: center;
|
|
18
|
+
z-index: 10;
|
|
19
|
+
padding: 1rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
h1 {
|
|
23
|
+
font-size: 2.5em;
|
|
24
|
+
margin-bottom: 1rem;
|
|
25
|
+
background: linear-gradient(135deg, #6c5ce7, #fd79a8);
|
|
26
|
+
-webkit-background-clip: text;
|
|
27
|
+
-webkit-text-fill-color: transparent;
|
|
28
|
+
background-clip: text;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.scoreboard {
|
|
32
|
+
display: flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
gap: 2rem;
|
|
35
|
+
margin-bottom: 1rem;
|
|
36
|
+
font-size: 1.1em;
|
|
37
|
+
opacity: 0.8;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.turn {
|
|
41
|
+
font-size: 1.2em;
|
|
42
|
+
margin-bottom: 1rem;
|
|
43
|
+
opacity: 0.7;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.board {
|
|
47
|
+
display: grid;
|
|
48
|
+
grid-template-columns: repeat(3, 100px);
|
|
49
|
+
grid-template-rows: repeat(3, 100px);
|
|
50
|
+
gap: 4px;
|
|
51
|
+
background: rgba(255, 255, 255, 0.1);
|
|
52
|
+
border-radius: 12px;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
margin: 0 auto;
|
|
55
|
+
width: fit-content;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.cell {
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
font-size: 2.5em;
|
|
63
|
+
font-weight: 700;
|
|
64
|
+
background: #12122a;
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
transition: background 0.2s;
|
|
67
|
+
user-select: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.cell:hover {
|
|
71
|
+
background: #1a1a3a;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.cell.taken {
|
|
75
|
+
cursor: default;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.cell.win {
|
|
79
|
+
background: rgba(108, 92, 231, 0.3);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.reset-btn {
|
|
83
|
+
margin-top: 1.5rem;
|
|
84
|
+
padding: 0.7em 2em;
|
|
85
|
+
font-size: 1em;
|
|
86
|
+
font-weight: 600;
|
|
87
|
+
border: none;
|
|
88
|
+
border-radius: 8px;
|
|
89
|
+
background: linear-gradient(135deg, #6c5ce7, #a29bfe);
|
|
90
|
+
color: #fff;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
transition: transform 0.2s;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.reset-btn:hover {
|
|
96
|
+
transform: scale(1.05);
|
|
97
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2020",
|
|
4
|
+
"useDefineForClassFields": true,
|
|
5
|
+
"module": "ESNext",
|
|
6
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
|
+
"skipLibCheck": true,
|
|
8
|
+
"moduleResolution": "bundler",
|
|
9
|
+
"allowImportingTsExtensions": true,
|
|
10
|
+
"resolveJsonModule": true,
|
|
11
|
+
"isolatedModules": true,
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"strict": true,
|
|
14
|
+
"noUnusedLocals": true,
|
|
15
|
+
"noUnusedParameters": true,
|
|
16
|
+
"noFallthroughCasesInSwitch": true
|
|
17
|
+
},
|
|
18
|
+
"include": ["src"]
|
|
19
|
+
}
|
package/template.json
ADDED