-
Notifications
You must be signed in to change notification settings - Fork 76
/
package.json
102 lines (102 loc) · 3.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "three-nebula",
"version": "10.0.3",
"description": "WebGL based 3D particle engine",
"main": "./build/cjs/index.js",
"module": "./build/esm/index.js",
"bundlesize": [
{
"path": "./build/three-nebula.js",
"maxSize": "105 kB",
"compression": "none"
}
],
"directories": {
"docs": "docs",
"website": "website"
},
"scripts": {
"build": "npm run build:clean && npm run build:umd && npm run build:cjs && npm run build:esm",
"build:clean": "rm -rf ./build",
"build:umd": "webpack",
"build:cjs": "babel src --out-dir build/cjs --extensions \".js\" --source-maps inline --presets @babel/env",
"build:esm": "babel src --out-dir build/esm --extensions \".js\" --source-maps inline",
"dev": "webpack --mode=development --watch",
"sandbox": "concurrently -k \"npm:sandbox:*\"",
"sandbox:build": "webpack --config webpack.config.sandbox.js --mode=development --watch",
"sandbox:serve": "npx serve sandbox",
"docs": "serve docs",
"docs:build": "./scripts/docs-build",
"test": "NODE_ENV=test mocha --require @babel/register --colors './test/**/*.spec.js'",
"test:only": "NODE_ENV=test mocha --require @babel/register --colors",
"test:watch": "NODE_ENV=test mocha --require @babel/register --colors -w './test/**/*.spec.js'",
"test:watch-only": "NODE_ENV=test mocha --require @babel/register --colors -w ",
"lint": "eslint src test && npx madge --circular src",
"lint:fix": "eslint --fix",
"coverage": "NODE_ENV=test npm run coverage:generate && npm run coverage:report",
"coverage:view": "open ./coverage/lcov-report/index.html",
"coverage:generate": "nyc mocha './test/**/*.spec.js' -- --require @babel/register",
"coverage:report": "nyc report --reporter=lcov",
"git:publish": "./scripts/publish",
"ci:src": "npm run lint && npm run test && npm run coverage",
"ci:bundlesize": "./scripts/check-bundlesize",
"ci:website": "npm run ci --prefix website",
"analyze": "webpack-bundle-analyzer build/stats.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/creativelifeform/three-nebula.git"
},
"keywords": [
"particle",
"three.js",
"3d"
],
"authors": [
"a-jie",
"rohan-deshpande",
"manthrax"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/creativelifeform/three-nebula/issues"
},
"homepage": "https://github.com/creativelifeform/three-nebula#readme",
"dependencies": {
"lodash": "^4.17.21",
"potpack": "^1.0.1",
"uuid": "^3.3.2"
},
"peerDependencies": {
"three": ">=0.122.0 <1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.16.0",
"@babel/plugin-proposal-object-rest-spread": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.0",
"@babel/preset-env": "^7.10.1",
"@babel/register": "^7.16.0",
"@babel/runtime": "^7.16.0",
"@istanbuljs/nyc-config-babel": "^3.0.0",
"babel-loader": "^8.2.3",
"babel-plugin-istanbul": "^6.0.0",
"bundlesize": "^0.18.1",
"chai": "^4.2.0",
"concurrently": "^6.3.0",
"coveralls": "^3.0.3",
"domino": "^2.1.1",
"eslint": "^8.1.0",
"eslint-plugin-import": "^2.25.2",
"eslint-webpack-plugin": "^3.1.0",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"prettier": "^1.16.4",
"sinon": "^7.1.1",
"three": "^0.127.0",
"webpack": "^5.61.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.1"
}
}