2.77KiB; JSON | 2019-09-03 14:10:33+02 | SLOC 78
1
{
2
  "name": "playcanvas",
3
  "version": "1.23.0-dev",
4
  "author": "PlayCanvas <support@playcanvas.com>",
5
  "homepage": "https://playcanvas.com",
6
  "description": "PlayCanvas WebGL game engine",
7
  "keywords": [
8
    "3D",
9
    "2D",
10
    "VR",
11
    "WebGL",
12
    "WebGL2",
13
    "game",
14
    "engine",
15
    "HTML5",
16
    "browser",
17
    "typings"
18
  ],
19
  "license": "MIT",
20
  "main": "build/output/playcanvas-latest.js",
21
  "types": "index.d.ts",
22
  "bugs": {
23
    "url": "https://github.com/playcanvas/engine/issues"
24
  },
25
  "repository": {
26
    "type": "git",
27
    "url": "https://github.com/playcanvas/engine.git"
28
  },
29
  "eslintConfig": {
30
    "extends": "@playcanvas/eslint-config"
31
  },
32
  "eslintIgnore": [
33
    "src/polyfill/*"
34
  ],
35
  "devDependencies": {
36
    "@playcanvas/jsdoc-template": "^1.0.7",
37
    "@playcanvas/eslint-config": "^1.0.0",
38
    "chai": "^4.2.0",
39
    "eslint": "^6.3.0",
40
    "fs-extra": "^8.1.0",
41
    "google-closure-compiler": "^20190513.0.0",
42
    "http-server": "^0.11.1",
43
    "jsdoc": "^3.6.3",
44
    "karma": "^4.2.0",
45
    "karma-chrome-launcher": "^2.2.0",
46
    "karma-mocha": "^1.3.0",
47
    "karma-spec-reporter": "0.0.32",
48
    "mocha": "^5.2.0",
49
    "preprocessor": "^1.4.0",
50
    "sinon": "^5.1.1",
51
    "tsd-jsdoc": "^2.4.0",
52
    "typescript": "^3.5.3",
53
    "uglify-js": "^3.6.0"
54
  },
55
  "scripts": {
56
    "build": "cd build && node build.js -o output/playcanvas-latest.js",
57
    "build:debug": "cd build && node build.js -d -o output/playcanvas-latest.dbg.js",
58
    "build:profiler": "cd build && node build.js -p -o output/playcanvas-latest.prf.js",
59
    "build:min": "cd build && node build.js -l 1 -o output/playcanvas-latest.min.js",
60
    "build:all": "npm run build; npm run build:debug; npm run build:profiler; npm run build:min",
61
    "docs": "jsdoc -c conf-api.json",
62
    "serve": "npm run build; ./node_modules/.bin/http-server build/output -a localhost -p 51000",
63
    "closure": "java -jar node_modules/google-closure-compiler/compiler.jar --compilation_level=SIMPLE --warning_level=VERBOSE --jscomp_off=checkTypes --externs build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/output/playcanvas-latest.js --js_output_file build/output/playcanvas.min.js",
64
    "uglify": "uglifyjs build/output/playcanvas-latest.js --compress --mangle --output build/output/playcanvas.min.js",
65
    "unzipbundle": "gzip -x tests/assets/bundle.gz",
66
    "test": "karma start tests/karma.conf.js -- --single-run",
67
    "test:release": "karma start tests/karma.conf.js -- --single-run --release",
68
    "test:watch": "karma start tests/karma.conf.js",
69
    "test:debug": "karma start tests/karma.conf.js -- --single-run=false",
70
    "test:tsd": "npm run tsd && tsc --pretty false build/output/playcanvas.d.ts",
71
    "tsd": "jsdoc -c conf-tsd.json",
72
    "lint": "eslint extras src"
73
  },
74
  "engines": {
75
    "node": ">= 0.6.12"
76
  },
77
  "dependencies": {}
78
}