-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
83 lines (83 loc) · 2.88 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
{
"name": "midori-bg",
"version": "1.0.3",
"description": "Animated image backgrounds",
"license": "MIT",
"keywords": [
"background",
"image",
"animation",
"webgl",
"three",
"threejs",
"canvas",
"javascript"
],
"repository": {
"type": "git",
"url": "https://github.com/aeroheim/midori.git"
},
"homepage": "https://github.com/aeroheim/midori",
"bugs": "https://github.com/aeroheim/midori/issues",
"author": {
"name": "Benjamin Pang",
"email": "bp7936@gmail.com",
"url": "https://aeroheim.moe/"
},
"main": "./dist/midori.cjs",
"module": "./dist/midori.js",
"types": "./dist/midori.d.ts",
"files": [
"/dist/midori.cjs",
"/dist/midori.js",
"/dist/midori.d.ts"
],
"scripts": {
"prepublishOnly": "npm run build-prod",
"dev": "npm run clean && npm run types && concurrently \"webpack -w --config webpack.dev.js --config-name lib\" \"webpack-dev-server --config webpack.dev.js --config-name docs\"",
"prod": "npm run clean && npm run types && concurrently \"webpack -w --config webpack.prod.js --config-name lib\" \"webpack-dev-server --config webpack.prod.js --config-name docs\"",
"build-dev": "npm run clean && npm run types && webpack --config webpack.dev.js --config-name lib && webpack --config webpack.dev.js --config-name docs",
"build-prod": "npm run clean && npm run types && webpack --config webpack.prod.js --config-name lib && webpack --config webpack.prod.js",
"clean": "rimraf ./dist && rimraf ./docs/dist",
"types": "dts-bundle-generator --project tsconfig.json ./src/midori.ts -o ./dist/midori.d.ts --external-imports three --external-types",
"lint": "tsc --project tsconfig.json --noEmit && eslint src/*/**.ts"
},
"devDependencies": {
"@babel/core": "^7.13.8",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-transform-runtime": "^7.13.9",
"@babel/preset-env": "^7.13.9",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.13.0",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@types/three": "^0.131.0",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"babel-loader": "^8.2.2",
"concurrently": "^6.2.1",
"copy-webpack-plugin": "^9.0.1",
"dts-bundle-generator": "^5.7.0",
"eslint": "^8.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-webpack-plugin": "^3.0.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rimraf": "^3.0.2",
"three": "^0.132.2",
"typescript": "^4.2.3",
"webpack": "^5.51.2",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.1.0",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@babel/runtime": "^7.13.9",
"@tweenjs/tween.js": "^18.6.4"
},
"peerDependencies": {
"three": ">=0.132.2"
}
}