mirror of
https://github.com/WhitestormJS/whs.js.git
synced 2026-01-25 16:08:01 +00:00
141 lines
3.4 KiB
JSON
141 lines
3.4 KiB
JSON
{
|
|
"name": "whs",
|
|
"version": "2.0.0-beta.4",
|
|
"description": "Framework for developing 3D web apps with physics.",
|
|
"main": "build/whitestorm.js",
|
|
"module": "src/index.js",
|
|
"scripts": {
|
|
"version": "gulp build --prod && git add .",
|
|
"test": "snyk test && xo ./src/**/*.js && jest",
|
|
"start": "webpack-dashboard -t WhitestormJS -- gulp dev --devPhysics 8001",
|
|
"build": "gulp build & gulp examples:build",
|
|
"deploy": "surge --project ./ --domain whs-dev.surge.sh"
|
|
},
|
|
"repository": "WhitestormJS/whitestorm.js",
|
|
"keywords": [
|
|
"whitestorm.js",
|
|
"three.js",
|
|
"webgl",
|
|
"ammo.js",
|
|
"api",
|
|
"3d",
|
|
"web",
|
|
"javascript",
|
|
"webpack",
|
|
"gulpjs"
|
|
],
|
|
"author": "Alexander Buzin",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/WhitestormJS/whitestorm.js#readme",
|
|
"dependencies": {
|
|
"lodash-es": "^4.17.4",
|
|
"minivents": "^2.0.2",
|
|
"three": "^0.84.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel": "^6.5.2",
|
|
"babel-core": "^6.22.1",
|
|
"babel-eslint": "^7.1.1",
|
|
"babel-jest": "^18.0.0",
|
|
"babel-loader": "^6.2.10",
|
|
"babel-plugin-add-module-exports": "^0.2.1",
|
|
"babel-plugin-istanbul": "^3.1.2",
|
|
"babel-plugin-transform-class-properties": "^6.22.0",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.22.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.22.0",
|
|
"babel-plugin-transform-runtime": "^6.22.0",
|
|
"babel-polyfill": "^6.22.0",
|
|
"babel-preset-es2015": "^6.22.0",
|
|
"babel-preset-stage-1": "^6.22.0",
|
|
"babel-register": "^6.22.0",
|
|
"babelify": "^7.3.0",
|
|
"benchmark": "^2.1.3",
|
|
"coveralls": "^2.11.15",
|
|
"del": "^2.2.2",
|
|
"express": "^4.14.0",
|
|
"gl": "^4.0.3",
|
|
"gulp": "^3.9.1",
|
|
"gulp-babel": "^6.1.2",
|
|
"gulp-benchmark": "^1.1.1",
|
|
"gulp-browser-basedir": "^1.0.1",
|
|
"gulp-browserify": "^0.5.1",
|
|
"gulp-cli": "^1.2.2",
|
|
"happypack": "^3.0.2",
|
|
"jest": "^18.1.0",
|
|
"jest-babel": "^1.0.1",
|
|
"mocha": "^3.2.0",
|
|
"nyc": "^10.1.2",
|
|
"path": "^0.12.7",
|
|
"present": "^1.0.0",
|
|
"pug": "^2.0.0-beta9",
|
|
"snyk": "^1.24.6",
|
|
"surge": "^0.18.0",
|
|
"three": "^0.84.0",
|
|
"uglify-loader": "^1.4.0",
|
|
"webpack": "^2.1.0-beta.27",
|
|
"webpack-dashboard": "^0.3.0",
|
|
"webpack-dev-middleware": "^1.9.0",
|
|
"xo": "^0.17.1",
|
|
"yargs": "^6.6.0"
|
|
},
|
|
"eslintConfig": {
|
|
"parserOptions": {
|
|
"ecmaVersion": 2017,
|
|
"sourceType": "module"
|
|
}
|
|
},
|
|
"xo": {
|
|
"space": 2,
|
|
"esnext": true,
|
|
"parser": "babel-eslint",
|
|
"envs": [
|
|
"node",
|
|
"browser",
|
|
"es6"
|
|
],
|
|
"syntax_map": {
|
|
"JavaScript (Babel)": "javascript"
|
|
},
|
|
"rules": {
|
|
"operator-linebreak": [
|
|
2,
|
|
"before"
|
|
],
|
|
"curly": [
|
|
2,
|
|
"multi-or-nest"
|
|
],
|
|
"one-var": 0,
|
|
"no-else-return": 1,
|
|
"no-undef": 0,
|
|
"no-new": 0,
|
|
"camelcase": 0,
|
|
"linebreak-style": 0,
|
|
"new-cap": [
|
|
1,
|
|
{
|
|
"newIsCap": true,
|
|
"capIsNew": true,
|
|
"properties": false
|
|
}
|
|
],
|
|
"babel/arrow-parens": 0,
|
|
"xo/filename-case": 0,
|
|
"no-warning-comments": 0,
|
|
"unicorn/filename-case": 0,
|
|
"import/no-unassigned-import": 0,
|
|
"import/prefer-default-export": 0
|
|
}
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
".js$": "babel-jest"
|
|
},
|
|
"coveragePathIgnorePatterns": [
|
|
"/node_modules",
|
|
"src/extras/pass"
|
|
]
|
|
}
|
|
}
|