-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
43 lines (43 loc) · 1.85 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "lerna bootstrap",
"build:libs": "lerna run --parallel build --scope '{navmesh,phaser-navmesh,phaser2-navmesh}'",
"test": "jest --config ./config/jest.config.json",
"watch": "lerna run --parallel watch",
"watch:libs": "lerna run --parallel watch --scope '{navmesh,phaser-navmesh,phaser2-navmesh}'",
"serve:examples": "lerna run --parallel serve --scope '{examples-phaser3,examples-phaser2,examples-node}'",
"dev": "concurrently \"yarn watch:libs\" \"yarn serve:examples\"",
"dev:phaser2": "concurrently \"lerna run watch --scope '{navmesh,phaser2-navmesh}'\" \"lerna run serve --scope examples-phaser2\"",
"dev:phaser3": "concurrently \"lerna run watch --scope '{navmesh,phaser-navmesh}'\" \"lerna run serve --scope examples-phaser3\"",
"dev:node": "concurrently \"lerna run watch --scope navmesh\" \"lerna run serve --scope examples-node\"",
"doc": "typedoc --tsconfig ./typedoc.tsconfig.json",
"postdoc": "cp -r doc-source/ docs/",
"deploy:examples": "gh-pages --branch gh-pages --dist packages/examples/public --add",
"predeploy:examples": "cd packages/examples && npm run build",
"deploy:doc": "gh-pages --branch gh-pages --dist docs --dest docs",
"predeploy:doc": "npm run doc",
"publish": "lerna publish",
"prettier": "yarn workspaces run prettier --config ../../.prettierrc.json --write \"src/**/*.{js,ts,json}\""
},
"devDependencies": {
"babel-jest": "^27.0.2",
"concurrently": "^6.2.0",
"cypress": "^7.5.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"gh-pages": "^3.2.3",
"jest": "^27.0.4",
"lerna": "^4.0.0",
"prettier": "^2.3.1",
"typedoc": "^0.21.0",
"yarn": "^1.22.10"
},
"prettier": {
"printWidth": 100
}
}