UNPKG

1.27 kBJSONView Raw
1{
2 "name": "flux-three-plugins",
3 "version": "0.3.0",
4 "description": "Modules for three.js to extend functionality.",
5 "main": "./build/index.common.js",
6 "repository": "git@bitbucket.org:vannevartech/flux-three-plugins.git",
7 "author": "Flux Factory Inc.",
8 "keywords": ["3D"],
9 "license": "ISC",
10 "scripts": {
11 "test": "npm run lint && npm run build-test && npm run run-test",
12 "lint": "eslint src/**",
13 "build": "npm run clean; npm run init; npm run build-globals; npm run build-common; npm run assemble;",
14 "assemble": "cp node_modules/three/three.js build/flux-three.js; cat build/index.global.js >> build/flux-three.js",
15 "clean": "rm -rf build",
16 "init": "mkdir build",
17 "build-globals": "rollup -c rollup.config.js -f=iife -n=FluxThreePlugins -o=./build/index.global.js",
18 "build-common": "rollup -c rollup.config.js -f=cjs -o=./build/index.common.js",
19 "run-test": "tape test/test.js",
20 "build-test": "npm run build-common; rollup -i test/test.js -f=cjs -o=./build/test.js;"
21 },
22 "dependencies": {
23 "eslint": "^1.9.0",
24 "rollup": "^0.26.7",
25 "rollup-plugin-commonjs": "^2.2.1",
26 "rollup-plugin-json": "^2.0.0",
27 "rollup-plugin-node-resolve": "^1.5.0",
28 "tape": "^4.5.1",
29 "three": "^0.77.0"
30 }
31}