forked from pchen66/panolens.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.15 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
103
{
"name": "panolens",
"version": "0.11.0",
"description": "Javascript panorama viewer",
"main": "build/panolens.js",
"jsnext:main": "build/panolens.module.js",
"module": "build/panolens.module.js",
"files": [
"build/panolens.js",
"build/panolens.min.js",
"build/panolens.module.js",
"LICENSE",
"package.json",
"README.md",
"src"
],
"directories": {
"doc": "docs",
"test": "test"
},
"scripts": {
"build-closure": "npm run lint && rollup -c && java -jar node_modules/google-closure-compiler-java/compiler.jar --rewrite_polyfills=false --warning_level=VERBOSE --hide_warnings_for='build/panolens.js' --jscomp_off=globalThis --jscomp_off=checkTypes --jscomp_off=checkVars --jscomp_off=suspiciousCode --jscomp_off=misplacedTypeAnnotation --jscomp_off=nonStandardJsDocs --language_in=ECMASCRIPT_NEXT --js build/panolens.js --js_output_file build/panolens.min.js",
"build": "npm run lint && rollup -c",
"dev": "concurrently --names \"ROLLUP,HTTP\" \"rollup -c -w -m inline\" \"http-server -p 8080\"",
"dev-https": "concurrently --names \"ROLLUP,HTTP\" \"rollup -c -w -m inline\" \"ws -p 8080 --https\"",
"lint": "eslint src",
"lint-fix": "eslint src --fix",
"test": "nyc --reporter=html --reporter=text ava",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"start": "npm run dev",
"docs": "node_modules/.bin/jsdoc -c jsdoc.json -d ./docs",
"travis": "npm run lint && npm test",
"prepublishOnly": "npm run test && npm run build-closure",
"preversion": "npm run test",
"version": "npm run build-closure && git add ./build && git commit -m 'Update build' && npm run docs && git add ./docs && git commit -m 'Update docs'"
},
"repository": {
"type": "git",
"url": "https://github.com/pchen66/panolens.js.git"
},
"keywords": [
"panorama",
"viewer",
"javascript",
"html5",
"3d"
],
"author": "pchen66",
"license": "MIT",
"bugs": {
"url": "https://github.com/pchen66/panolens.js/issues"
},
"homepage": "https://pchen66.github.io/Panolens/",
"ava": {
"files": [
"./test/**/*.js"
],
"ignoredByWatcher": [
"./src/**/*.js"
],
"require": [
"esm",
"./test/_browserENV.js"
],
"nodeArguments": [
"--experimental-modules"
]
},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-inject": "^4.0.1",
"@rollup/plugin-json": "^4.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@tweenjs/tween.js": "^18.5.0",
"ava": "^3.5.0",
"babel-eslint": "^10.1.0",
"browser-env": "^3.3.0",
"concurrently": "^5.1.0",
"coveralls": "^3.0.11",
"docdash": "^1.2.0",
"eslint": "^6.8.0",
"esm": "^3.2.25",
"google-closure-compiler": "^20200315.0.0",
"http-server": "^0.12.3",
"jsdoc": "^3.6.3",
"local-web-server": "^3.0.7",
"nyc": "^14.1.1",
"rollup": "^2.3.2",
"three": "^0.105.2",
"xmlhttprequest": "^1.8.0"
},
"jspm": {
"files": [
"build/panolens.js",
"build/panolens.min.js",
"build/panolens.module.js",
"LICENSE",
"package.json",
"README.md"
],
"directories": {}
}
}