-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
62 lines (62 loc) · 1.82 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
{
"name": "@mozillareality/three-batch-manager",
"license": "MPL-2.0",
"version": "0.1.10",
"description": "High level batching / instancing API for ThreeJS",
"repository": {
"type": "git",
"url": "https://github.com/mozillareality/three-batch-manager.git"
},
"bugs": {
"url": "https://github.com/mozillareality/three-batch-manager/issues"
},
"main": "lib/commonjs/index.js",
"module": "lib/es2015/index.js",
"types": "lib/types/index.d.ts",
"files": [
"lib"
],
"scripts": {
"start": "webpack-dev-server --config ./example/webpack.config.js",
"build": "run-p build:**",
"build:es2015": "tsc -p ./src/tsconfig.json",
"build:commonjs": "tsc -p ./src/cjs-tsconfig.json",
"build:declaration": "tsc -p ./src/tsconfig.json --emitDeclarationOnly --declaration --outDir ./lib/types --allowJS false",
"watch": "run-p -l watch:**",
"watch:es2015": "tsc -w -p ./src/tsconfig.json",
"watch:commonjs": "tsc -w -p ./src/cjs-tsconfig.json",
"lint": "tslint -c tslint.json -p ./lint-tsconfig.json",
"preversion": "npm run lint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"tslint -c tslint.json -p ./lint-tsconfig.json --fix",
"git add"
]
},
"peerDependencies": {
"three": "^0.111.0"
},
"devDependencies": {
"@types/webgl2": "0.0.4",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.0",
"lint-staged": "^9.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"three": "github:mozillareality/three.js#hubs/master",
"ts-loader": "^6.0.4",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1",
"typescript": "^3.5.2",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.1",
"webpack-dev-server": "^3.3.1"
}
}