-
Notifications
You must be signed in to change notification settings - Fork 302
/
package.json
52 lines (52 loc) · 2.22 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
{
"name": "claygl",
"version": "1.3.0",
"description": "WebGL graphic library",
"keywords": [
"graphic",
"webgl"
],
"author": {
"name": "Yi Shen",
"url": "https://github.com/pissang"
},
"jsnext:main": "dist/claygl.es.js",
"module": "src/claygl.js",
"main": "dist/claygl.js",
"types": "index.d.ts",
"sideEffects": false,
"scripts": {
"build": "npm run glsl2js && npm run gen:entry && rollup -c && uglifyjs dist/claygl.js -c -m > dist/claygl.min.js",
"build:sourcemap": "npm run gen:entry && rollup --sourcemap inline -c",
"dev": "rollup --sourcemap inline -c -w",
"glsl2js": "node build/glsl2js.js",
"gen:entry": "node build/genentry.js",
"gen:fixture": "npm run pretest && electron-mocha --require-main \"./test/genfixture-env.js\" --renderer \"./test/integration/**/*.spec.js\"",
"prepublish": "npm run build",
"debug": "npm run pretest && electron-mocha --debug-brk --renderer \"./test/**/*.spec.js\"",
"instrument": "istanbul instrument ./dist/claygl.src.js --output ./dist/claygl.js --no-compact --complete-copy --es-modules",
"pretest": "npm run build:sourcemap",
"tdd": "npm run pretest && electron-mocha --interactive --renderer \"./test/**/*.spec.js\"",
"test:cov": "npm run pretest -- test/rollup.config.js && npm run instrument && npm run test:main -- -R test/reporter/istanbul-reporter && remap-istanbul -i coverage/coverage-final.json -o coverage/html-report -t html && node -e \"require('fs').unlinkSync('./dist/claygl.src.js')\"",
"test:fixture": "npm run pretest && electron-mocha --require-main ./test/ci-env.js --renderer \"./test/integration/**/*.spec.js\" -R test/reporter/fixture-reporter",
"test:main": "electron-mocha --require-main ./test/ci-env.js --renderer \"./test/**/*.spec.js\"",
"test": "npm run test:main"
},
"repository": {
"type": "git",
"url": "https://github.com/pissang/claygl.git"
},
"devDependencies": {
"electron": "1.7.9",
"electron-mocha": "^4.0.3",
"glob": "^7.0.0",
"istanbul": "^1.1.0-alpha.1",
"minami": "^1.2.3",
"mocha": "^4.0.1",
"remap-istanbul": "^0.9.5",
"rollup": "^0.49.3",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-watch": "^4.3.1"
},
"dependencies": {}
}