starfield-react
Version:
A React component that draws an animated Starfield on a canvas dom element.
52 lines (51 loc) • 1.58 kB
JSON
{
"name": "starfield-react",
"version": "3.1.0-dev-5",
"description": "A React component that draws an animated Starfield on a canvas dom element.",
"author": "Christopher Decoster",
"license": "MIT",
"repository": "https://github.com/impaler/starfield-react",
"main": "dist/starfield-react.js",
"source": "src/index.ts",
"module": "dist/index.module.js",
"esmodule": "dist/index.esmodule.js",
"umd:main": "dist/index.umd.js",
"types": "dist/src/index.d.ts",
"sideEffects": false,
"scripts": {
"clean": "rm -rf dist",
"dev:example": "parcel ./example/index.html --out-dir example/dist",
"dev": "microbundle watch",
"build": "yarn run clean && microbundle build --entry src/index.ts --jsx React.createElement --name react-starfield --tsconfig tsconfig.json",
"test": "jest",
"pack": "npm pack",
"prepublish": "npm run clean && npm run test && npm run build"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@babel/preset-env": "7.13.12",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.13.0",
"@testing-library/react": "9.2.0",
"@types/jest": "24.0.18",
"@types/react": "16.8.17",
"@types/react-dom": "16.9.9",
"babel-jest": "26.6.3",
"jest": "26.6.3",
"jest-canvas-mock": "2.3.1",
"microbundle": "0.13.0",
"parcel-bundler": "1.12.3",
"react": "16.14.0",
"react-dat-gui": "4.0.3",
"react-dom": "16.14.0"
},
"keywords": [
"react",
"scifi",
"stars",
"starfield"
]
}