This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 499
/
package.json
141 lines (141 loc) · 3.78 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "panolens",
"version": "0.12.1",
"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=ECMASCRIPT6 --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/",
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"no-unused-expressions": "error",
"no-unused-vars": "error",
"semi": 2,
"indent": [
"error",
4
],
"spaced-comment": [
"error",
"always"
],
"multiline-comment-style": [
"error",
"starred-block"
],
"linebreak-style": [
"error",
"unix"
],
"key-spacing": [
"error",
{
"beforeColon": false,
"afterColon": true
}
],
"quotes": [
"error",
"single",
{
"allowTemplateLiterals": true
}
]
}
},
"ava": {
"files": [
"./test/**/*.js"
],
"sources": [
"./src/**/*.js"
],
"require": [
"esm",
"./test/_browserENV.js"
]
},
"devDependencies": {
"@tweenjs/tween.js": "^17.4.0",
"ava": "^2.1.0",
"browser-env": "^3.2.6",
"concurrently": "^4.1.0",
"coveralls": "^3.0.4",
"docdash": "^1.1.1",
"eslint": "^5.16.0",
"google-closure-compiler": "^20190528.0.0",
"http-server": "^0.12.3",
"jsdoc": "^3.6.6",
"local-web-server": "^3.0.0",
"nyc": "^14.1.1",
"rollup": "^1.15.1",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-inject": "^2.2.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.0.1",
"xmlhttprequest": "^1.8.0"
},
"dependencies": {
"three": "^0.105.2"
},
"jspm": {
"files": [
"build/panolens.js",
"build/panolens.min.js",
"build/panolens.module.js",
"LICENSE",
"package.json",
"README.md"
],
"directories": {}
}
}