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