123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- {
- "name": "three",
- "version": "0.92.0",
- "description": "JavaScript 3D library",
- "main": "build/three.js",
- "repository": "mrdoob/three.js",
- "jsnext:main": "build/three.module.js",
- "module": "build/three.module.js",
- "files": [
- "package.json",
- "bower.json",
- "LICENSE",
- "README.md",
- "build/three.js",
- "build/three.min.js",
- "build/three.module.js",
- "src",
- "examples/js",
- "examples/fonts"
- ],
- "directories": {
- "doc": "docs",
- "example": "examples",
- "test": "test"
- },
- "eslintConfig": {
- "extends": "mdcs"
- },
- "scripts": {
- "build": "rollup -c",
- "build-test": "rollup -c test/rollup.unit.config.js",
- "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
- "build-closure": "rollup -c && java -jar node_modules/google-closure-compiler/compiler.jar --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js",
- "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"serve --port 8080\"",
- "dev-test": "concurrently --names \"ROLLUP,ROLLUPTEST,HTTP\" -c \"bgBlue.bold,bgRed.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"rollup -c test/rollup.unit.config.js -w -m inline\" \"serve --port 8080\"",
- "start": "npm run dev",
- "lint": "eslint src",
- "test": "npm run build-test && qunit test/unit/three.source.unit.js",
- "travis": "npm run lint && npm test",
- "editor": "electron ./editor/main.js"
- },
- "keywords": [
- "three",
- "three.js",
- "3d",
- "webgl"
- ],
- "author": "mrdoob",
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/mrdoob/three.js/issues"
- },
- "homepage": "https://threejs.org/",
- "devDependencies": {
- "concurrently": "^3.5.0",
- "electron": "~1.8.4",
- "eslint": "^4.1.1",
- "eslint-config-mdcs": "^4.2.2",
- "google-closure-compiler": "20180204.0.0",
- "qunit": "^2.5.1",
- "rollup": "^0.57.1",
- "rollup-watch": "^4.0.0",
- "serve": "~6.5.3",
- "uglify-js": "^3.0.23"
- }
- }
|