forked from mistic100/Photo-Sphere-Viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 3.07 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
{
"name": "photo-sphere-viewer",
"version": "4.0.0-SNAPSHOT",
"description": "A JavaScript library to display Photo Sphere panoramas",
"homepage": "https://photo-sphere-viewer.js.org",
"main": "dist/photo-sphere-viewer.js",
"module": "src/js/index.js",
"authors": [
{
"name": "Jérémy Heleine",
"email": "[email protected]",
"homepage": "http://jeremyheleine.me"
},
{
"name": "Damien \"Mistic\" Sorel",
"email": "[email protected]",
"homepage": "https://www.strangeplanet.fr"
}
],
"keywords": [
"photosphere",
"panorama",
"threejs"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/mistic100/Photo-Sphere-Viewer.git"
},
"dependencies": {
"three": ">= 0.85.0",
"uevent": "~2.0.0"
},
"devDependencies": {
"@babel/core": "^7.0.1",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"@csstools/postcss-sass": "^4.0.0",
"autoprefixer": "^9.1.5",
"babel-eslint": "^9.0.0",
"clean-css-cli": "^4.2.1",
"eslint": "^5.6.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.17.1",
"foodoc": "https://github.com/mistic100/foodoc#master",
"jsdoc": "^3.5.5",
"live-server": "^1.2.0",
"mocha": "^6.0.0",
"node-sass": "^4.9.3",
"nodemon": "^1.18.4",
"nosleep.js": "^0.7.0",
"npm-run-all": "^4.1.3",
"postcss": "^7.0.2",
"postcss-banner": "^3.0.0",
"postcss-cli": "^6.0.0",
"promise-polyfill": "^8.1.0",
"rollup": "^1.9.3",
"rollup-plugin-alias": "^1.5.1",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-string": "^3.0.0",
"stylelint": "^10.0.0",
"stylelint-config-standard": "^18.3.0",
"stylelint-scss": "^3.3.0",
"uglify-js": "^3.4.9"
},
"scripts": {
"compile": "npm-run-all --parallel compile:*",
"compile:js": "npm-run-all compile:js:*",
"compile:css": "npm-run-all compile:css:*",
"compile:js:build": "rollup --config rollup.config.js",
"compile:js:minify": "uglifyjs --mangle --comments \"/^!/\" --output dist/photo-sphere-viewer.min.js dist/photo-sphere-viewer.js",
"compile:css:build": "postcss src/scss/index.scss --output dist/photo-sphere-viewer.css",
"compile:css:minify": "cleancss --output dist/photo-sphere-viewer.min.css dist/photo-sphere-viewer.css",
"doc": "npm-run-all doc:*",
"doc:clean": "rm -rf doc/*",
"doc:generate": "jsdoc --configure .jsdoc.json --destination doc src/js",
"doc:post": "cp build/jsdoc.js doc/js/custom.js && cp build/jsdoc.css doc/css/custom.css",
"test": "npm-run-all --parallel test:*",
"test:mocha": "mocha --require @babel/register --recursive tests",
"test:eslint": "eslint src/js",
"test:sasslint": "stylelint \"src/scss/**/*.scss\"",
"start": "npm-run-all --parallel dev:**",
"dev:serve": "live-server --watch=dist,example --open=example",
"dev:watch:js": "nodemon --watch src/ --ext js,svg,html --exec \"npm run compile:js:build\"",
"dev:watch:css": "nodemon --watch src/ --ext scss --exec \"npm run compile:css:build\""
}
}