claygl/package.json
2022-05-15 13:06:31 +08:00

64 lines
2.5 KiB
JSON

{
"name": "claygl",
"version": "1.3.0",
"description": "A 3D graphic library focused on WebGL2.0",
"keywords": [
"graphic",
"webgl"
],
"author": {
"name": "Yi Shen",
"url": "https://github.com/pissang"
},
"module": "index.js",
"main": "dist/claygl.js",
"jsdelivr": "dist/claygl.min.js",
"sideEffects": false,
"scripts": {
"build": "npx rollup -c && npx terser dist/claygl.js -c -m > dist/claygl.min.js",
"build:lib": "npx tsc",
"prepublishOnly": "npm run build && npm run build:lib",
"lint": "npx eslint --quiet src/**/*.ts",
"watch": "rollup --sourcemap inline -c -w",
"dev": "vite ./ --config example/vite.config.js",
"gen:fixture": "npm run pretest && electron-mocha --require-main \"./test/genfixture-env.js\" --renderer \"./test/integration/**/*.spec.js\"",
"debug": "npm run build && 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",
"tdd": "npm run build && 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": {
"@types/dat.gui": "^0.7.7",
"@types/stats.js": "^0.17.0",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"dat.gui": "^0.7.9",
"electron": "1.7.9",
"electron-mocha": "^4.0.3",
"esbuild": "^0.14.38",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"glob": "^7.0.0",
"istanbul": "^1.1.0-alpha.1",
"minami": "^1.2.3",
"mocha": "^4.0.1",
"remap-istanbul": "^0.9.5",
"rollup": "^2.70.2",
"stats.js": "^0.17.0",
"terser": "^5.12.1",
"typescript": "^4.6.4",
"vite": "^2.9.6"
},
"dependencies": {
"@rollup/plugin-typescript": "^8.3.2",
"tslib": "^2.3.1"
}
}