Skip to content

Commit

Permalink
Ported mp3.js to typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Thalhammer committed Sep 24, 2019
0 parents commit f900eed
Show file tree
Hide file tree
Showing 35 changed files with 27,305 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#root = true

[*]
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100
indent_size = 2

[*.md]
trim_trailing_whitespace = false
47 changes: 47 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc
/compiled

# dependencies
/node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/keybindings*.json
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
testem.log
/typings
yarn-error.log
.nyc_output
.awcache

# e2e
/e2e/*.js
/e2e/*.map

# System Files
.DS_Store
Thumbs.db
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: node_js
branches:
only:
- master
- /^greenkeeper/.*$/
cache:
yarn: true
directories:
- node_modules
notifications:
email: false
node_js:
- '7.5'
before_script:
- npm prune && npm cache clean
script:
- npm run test:prod && npm run build
after_success:
- npm run deploy-docs
51 changes: 51 additions & 0 deletions .vscode/keybindings-mac.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// Place your key bindings in this file to overwrite the defaults
[
// End a running background task
{
"key": "shift+cmd+x",
"command": "workbench.action.tasks.terminate"
},
// Show Source Control
{
"key": "shift+cmd+g",
"command": "workbench.view.scm"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm"
},
// Lint
{
"key": "ctrl+shift+l",
"command": "workbench.action.tasks.runTask",
"args": "lint"
},
// Tests
{
"key": "shift+cmd+t",
"command": "workbench.action.tasks.test"
},
// E2E Tests
{
"key": "ctrl+shift+e",
"command": "workbench.action.tasks.runTask",
"args": "e2e"
},
// Serve app
{
"key": "shift+cmd+s",
"command": "workbench.action.tasks.runTask",
"args": "serve"
},
// Open app
{
"key": "shift+cmd+o",
"command": "workbench.action.tasks.runTask",
"args": "open"
},
// Go to symbol (remapped)
{
"key": "ctrl+shift+o",
"command": "workbench.action.gotoSymbol"
}
]
37 changes: 37 additions & 0 deletions .vscode/keybindings-win.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// Place your key bindings in this file to overwrite the defaults
[
// End a running background task
{
"key": "ctrl+shift+x",
"command": "workbench.action.tasks.terminate"
},
// Lint
{
"key": "ctrl+shift+l",
"command": "workbench.action.tasks.runTask",
"args": "lint"
},
// Tests
{
"key": "ctrl+shift+t",
"command": "workbench.action.tasks.test"
},
// E2E Tests
{
"key": "ctrl+shift+e",
"command": "workbench.action.tasks.runTask",
"args": "e2e"
},
// Serve app
{
"key": "ctrl+shift+s",
"command": "workbench.action.tasks.runTask",
"args": "serve"
},
// Open app
{
"key": "ctrl+shift+o",
"command": "workbench.action.tasks.runTask",
"args": "open"
}
]
24 changes: 24 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Tests",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"sourceMaps": true,
"runtimeArgs": [
"-i"
],
"env": {
"NODE_ENV": "development"
},
"outFiles": [
"${workspaceRoot}/dist/**/*"
],
"cwd": "${workspaceRoot}",
"localRoot": "${workspaceFolder}",
"remoteRoot": "/home/dominik/Dokumente/aurora.js-ts/"
}
]
}
42 changes: 42 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "npm",
"script": "build",
"presentation": {
"reveal": "always"
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$tsc"
]
},
{
"label": "test",
"type": "npm",
"script": "test:watch",
"presentation": {
"reveal": "always"
},
"group": {
"kind": "test",
"isDefault": true
}
},
{
"taskName": "lint",
"type": "shell",
"command": "npm run lint",
"problemMatcher": [
"$tsc"
]
}
]
}
7 changes: 7 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2017 Dominik Thalhammer <dominik@thalhammer.it>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading

0 comments on commit f900eed

Please sign in to comment.