forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.46 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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "three",
"version": "0.115.0",
"description": "JavaScript 3D library",
"main": "build/three.js",
"module": "build/three.module.js",
"types": "src/Three.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/mrdoob/three.js"
},
"files": [
"build/three.js",
"build/three.min.js",
"build/three.module.js",
"examples/js",
"examples/jsm",
"examples/fonts",
"LICENSE",
"package.json",
"README.md",
"src"
],
"directories": {
"doc": "docs",
"example": "examples",
"test": "test"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": "mdcs",
"plugins": [
"html",
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-unused-vars": 1,
"@typescript-eslint/indent": [
"error",
"tab",
{
"SwitchCase": 1
}
]
}
},
"scripts": {
"start": "npm run dev",
"build": "rollup -c utils/build/rollup.config.js",
"build-test": "rollup -c test/rollup.unit.config.js",
"build-closure": "rollup -c utils/build/rollup.config.js && google-closure-compiler --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js",
"build-examples": "rollup -c utils/build/rollup-examples.config.js",
"dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"http-server -c-1 -p 8080\"",
"dev-test": "concurrently --names \"ROLLUP,ROLLUPTEST,HTTP\" -c \"bgBlue.bold,bgRed.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"rollup -c test/rollup.unit.config.js -w -m inline\" \"http-server -p 8080\"",
"test": "npm run test-lint && npm run test-unit",
"test-lint": "eslint src --ext js --ext ts && tsc -p utils/build/tsconfig.lint.json",
"test-lint-docs": "eslint docs --ext html",
"test-lint-examples": "eslint examples/jsm --ext js --ext ts --ignore-pattern libs && tsc -p utils/build/tsconfig-examples.lint.json",
"test-unit": "npm run build-test && qunit -r failonlyreporter test/unit/three.source.unit.js",
"test-e2e": "node --expose-gc test/e2e/puppeteer.js",
"test-e2e-cov": "node test/e2e/check-coverage.js",
"make-screenshot": "cross-env MAKE=true npm run test-e2e"
},
"keywords": [
"three",
"three.js",
"3d",
"canvas",
"svg",
"webgl"
],
"author": "mrdoob",
"license": "MIT",
"bugs": {
"url": "https://github.com/mrdoob/three.js/issues"
},
"homepage": "https://threejs.org/",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"concurrently": "^5.1.0",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-mdcs": "^4.2.3",
"eslint-plugin-html": "^6.0.0",
"failonlyreporter": "^1.0.0",
"google-closure-compiler": "20200224.0.0",
"http-server": "^0.12.1",
"image-output": "^2.4.2",
"pixelmatch": "5.2.0",
"pngjs": "5.0.0",
"puppeteer": "2.1.1",
"qunit": "^2.9.3",
"rollup": "^2.3.2",
"rollup-plugin-buble": "^0.19.8",
"serve-handler": "^6.1.2",
"typescript": "^3.8.3"
},
"jspm": {
"files": [
"package.json",
"LICENSE",
"README.md",
"build/three.js",
"build/three.min.js",
"build/three.module.js"
],
"directories": {}
}
}