Files
2025-11-30 08:35:03 +02:00

74 lines
2.2 KiB
JSON

{
"name": "three.quarks",
"version": "0.15.6",
"description": "A General-Purpose Particle System for three.js",
"type": "module",
"types": "./dist/types/index.d.ts",
"main": "./dist/three.quarks.js",
"module": "./dist/three.quarks.esm.js",
"browser_NO_NPM": "./dist/three.quarks.min.js",
"exports": {
".": {
"import": "./dist/three.quarks.esm.js",
"require": "./dist/three.quarks.cjs",
"types": "./dist/types/index.d.ts"
}
},
"files": [
"dist",
"src",
"LICENSE"
],
"scripts": {
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"dev": "rollup -c -w",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "rollup -c",
"build:examples": "cpx \"../../node_modules/three/examples/**/*.*\" ./examples/js/examples && cpx ../../node_modules/three/build/three.module.js ./examples/js/",
"build:production": "npm run build:types && npm run build:examples && cross-env NODE_ENV=production npm run build:js && cpx ./dist/three.quarks.esm.js ./examples/js/",
"build": "npm run build:production",
"lint": "eslint . --ext .ts",
"prepublishOnly": "npm run build:production",
"deploy": "gh-pages -d examples",
"example": "http-server ./examples -c-1 -p 8000",
"test": "jest",
"test:coverage": "jest --coverage",
"test:prod": "npm run test -- --no-cache",
"prepare": "husky",
"prettier": "prettier --write --ignore-unknown"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Alchemist0823/three.quarks.git"
},
"keywords": [
"particle",
"library",
"3d",
"game",
"performance",
"math"
],
"author": "Alchemist0823 <the.forrest.sun@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Alchemist0823/three.quarks/issues"
},
"homepage": "https://quarks.art",
"peerDependencies": {
"three": ">=0.165.0"
},
"dependencies": {
"quarks.core": "^0.15.6"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/three": "^0.165.0",
"three": "^0.165.0"
},
"lint-staged": {
"**/*.ts": "prettier --write --ignore-unknown"
}
}