Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 3.39 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 3.39 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "examples-browser",
"version": "0.0.0",
"description": "Examples browser for the PlayCanvas Engine",
"main": "index.js",
"type": "module",
"scripts": {
"build": "npm run build:example:data && npm run build:directory && npm run build:iframes && cross-env NODE_ENV=production rollup -c",
"build:directory": "node --es-module-specifier-resolution=node ./scripts/example-directory/index.mjs",
"build:example:data": "node --es-module-specifier-resolution=node ./scripts/example-data.mjs",
"build:iframes": "node --es-module-specifier-resolution=node ./scripts/iframe/index.mjs",
"build:thumbnails": "node --es-module-specifier-resolution=node ./scripts/thumbnails.mjs",
"rollup:watch": "rollup -c -w",
"serve": "serve dist -l 5000",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "npm run build:example:data && npm run build:directory && npm run build:iframes && cross-env concurrently --kill-others \"npm run rollup:watch\"",
"watch:iframes": "nodemon -e js,mjs,json,tsx --watch ../build --watch ./src/examples --watch ../scripts --exec npm run build:iframes",
"watch:iframes:debug": "ENGINE_PATH=/build/playcanvas.dbg.js npm run watch:iframes",
"watch:iframes:profiler": "ENGINE_PATH=/build/playcanvas.prf.js npm run watch:iframes",
"develop": "cross-env ENGINE_PATH=/build/playcanvas.dbg.js concurrently --kill-others \"npm run watch:iframes:debug\" \"npm run serve\""
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"@playcanvas/eslint-config",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"lines-between-class-members": [
"error",
"always",
{
"exceptAfterSingleLine": true
}
]
}
},
"devDependencies": {
"@babel/standalone": "^7.18.1",
"@monaco-editor/react": "^4.4.5",
"@playcanvas/eslint-config": "^1.1.1",
"@playcanvas/observer": "1.3.1",
"@playcanvas/pcui": "^2.3.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"@types/react": "^17.0.13",
"@types/react-dom": "^17.0.8",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"concurrently": "^7.2.1",
"cross-env": "^7.0.2",
"eslint": "^8.16.0",
"fs-extra": "^10.1.0",
"handlebars": "^4.7.7",
"monaco-editor": "^0.33.0",
"nodemon": "^2.0.16",
"prettier": "^2.6.2",
"promise-polyfill": "^8.2.3",
"prop-types": "^15.7.2",
"puppeteer": "^14.1.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router-dom": "^5.2.0",
"resize-observer-polyfill": "^1.5.1",
"rollup": "^2.74.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"serve": "^13.0.2",
"sharp": "^0.30.5",
"tslib": "^2.4.0",
"typescript": "^4.6.4",
"url-search-params-polyfill": "^8.1.1",
"whatwg-fetch": "^3.6.2"
},
"author": "PlayCanvas <support@playcanvas.com>",
"license": "MIT",
"dependencies": {
"rollup-plugin-string": "^3.0.0"
}
}