Skip to content

Commit

Permalink
feat: turn panoviewer to typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
WoodNeck committed Nov 9, 2020
1 parent b835bd9 commit b3e624a
Show file tree
Hide file tree
Showing 12 changed files with 1,958 additions and 88 deletions.
7 changes: 3 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
insert_final_newline = true

[*.js, *.ts]
indent_style = tab
max_line_length = 80
trim_trailing_whitespace = true
4 changes: 2 additions & 2 deletions jsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"dictionaries": ["jsdoc","closure"]
},
"source": {
"include": ["src", "src/PanoViewer", "src/SpinViewer", "README.md" , "node_modules/@egjs/component/src/component.js"],
"include": ["src", "src/PanoViewer", "src/SpinViewer", "README.md", "node_modules/@egjs/component/src/component.ts"],
"exclude": ["src/SpinViewer/SpriteImage.js"],
"includePattern": ".+\\.js(doc|x)?$",
"includePattern": ".+\\.ts(doc|x)?$",
"excludePattern": "(^|\\/|\\\\)_"
},
"opts": {
Expand Down
176 changes: 101 additions & 75 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"demo:setup": "cpx 'node_modules/@egjs/common-demo/**/*' 'demo/' && rm demo/package.json",
"release": "node config/release.js",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"prepush": "npm run lint && karma start --chrome --single-run",
"prepush": "npm run lint",
"commitmsg": "node config/validate-commit-msg.js",
"changelog": "node config/changelog.js"
},
Expand All @@ -44,7 +44,7 @@
"dependencies": {
"@egjs/agent": "^2.2.1",
"@egjs/axes": "^2.7.1",
"@egjs/component": "^2.1.2",
"@egjs/component": "^2.2.0",
"es6-promise": "^4.2.5",
"gl-matrix": "^3.1.0",
"motion-sensors-polyfill": "^0.3.1",
Expand All @@ -56,6 +56,7 @@
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-transform-modules-commonjs": "^7.1.0",
"@babel/preset-env": "^7.0.0",
"@daybrush/jsdoc": "^0.3.8",
"@egjs/common-demo": "github:naver/egjs#common-demo",
"@egjs/visible": "^2.1.0",
"babel-eslint": "^10.0.1",
Expand Down Expand Up @@ -83,7 +84,6 @@
"husky": "^0.14.3",
"inject-loader": "^4.0.1",
"istanbul-instrumenter-loader": "^3.0.1",
"jsdoc": "^3.5.5",
"karma": "^3.0.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
Expand Down
Loading

0 comments on commit b3e624a

Please sign in to comment.