Skip to content

Commit

Permalink
Merge pull request #2 from rodydavis/bower-to-npm
Browse files Browse the repository at this point in the history
Migrating from Bower to NPM
  • Loading branch information
rodydavis authored Jun 16, 2021
2 parents 8575984 + d03bd63 commit e09fa54
Show file tree
Hide file tree
Showing 650 changed files with 87,655 additions and 129 deletions.
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
bower_components
node_modules
*.pyc

.DS_Store
Expand Down
77 changes: 40 additions & 37 deletions app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,59 +17,62 @@ api_version: 1
threadsafe: yes

handlers:
# Testing
- url: /test
static_files: test/index.html
upload: test/index.html
# Testing
- url: /test
static_files: test/index.html
upload: test/index.html

# Tutorial
- url: /tutorial
static_dir: tutorial
# Tutorial
- url: /tutorial
static_dir: tutorial

- url: /tutorial
static_files: tutorial/index.html
upload: tutorial/index.html
- url: /tutorial
static_files: tutorial/index.html
upload: tutorial/index.html

# App Routing
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
# App Routing
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico

- url: /robots.txt
static_files: robots.txt
upload: robots.txt
- url: /robots.txt
static_files: robots.txt
upload: robots.txt

- url: /app
static_dir: app
- url: /app
static_dir: app

- url: /bower_components
static_dir: bower_components
- url: /node_modules
static_dir: node_modules

- url: /css
static_dir: app/css
- url: /third_party
static_dir: third_party

- url: /img
static_dir: app/img
- url: /css
static_dir: app/css

- url: /js
static_dir: app/js
- url: /img
static_dir: app/img

- url: /partials
static_dir: app/partials
- url: /js
static_dir: app/js

- url: .*
script: main.app
- url: /partials
static_dir: app/partials

- url: .*
script: main.app

# Libraries
libraries:
- name: webapp2
version: "2.5.2"
- name: webapp2
version: "2.5.2"

- name: jinja2
version: latest
- name: jinja2
version: latest

- name: pycrypto
version: "2.6"
- name: pycrypto
version: "2.6"

# Don't Upload
skip_files: |
Expand Down
32 changes: 0 additions & 32 deletions bower.json

This file was deleted.

78 changes: 78 additions & 0 deletions package-lock.json

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

45 changes: 45 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "direct",
"version": "0.10.0",
"description": "Direct is a tool that helps motion designers provide clear, precise motion direction for engineers.",
"private": true,
"main": "index.js",
"scripts": {
"serve": "tsc && sudo dev_appserver.py .",
"setup": "bower install"
},
"dependencies": {
"angular": "~1.4.5",
"angular-animate": "~1.4.5",
"angular-aria": "~1.4.5",
"angular-environment": "^1.0.8",
"angular-local-storage": "^0.7.1",
"angular-material": "~0.11.0",
"angular-resource": "~1.4.5",
"angular-route": "~1.4.5",
"angularytics": "0.3.0",
"hammerjs": "~2.0.4",
"jquery": "^3.1.1",
"js-throttle-debounce": "^0.1.1"
},
"devDependencies": {
"bower": "^1.8.0",
"json-server": "^0.9.6",
"rimraf": "^2.6.2",
"serve": "^5.1.2",
"ts-loader": "^3.2.0",
"typescript": "^2.6.2",
"webpack": "^3.10.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rodydavis/direct.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/rodydavis/direct/issues"
},
"homepage": "https://github.com/rodydavis/direct#readme"
}
116 changes: 60 additions & 56 deletions templates/index.html
Original file line number Diff line number Diff line change
@@ -1,58 +1,62 @@
<!DOCTYPE html>
<html ng-app="spec">
<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="css/icons.css">
<link rel="stylesheet" href="/bower_components/angular-material/angular-material.css">
<link rel="stylesheet" href="css/style.css">

<title>Direct</title>
</head>

<body ng-controller="baseCtrl">
<ng-view></ng-view>

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-80214706-7', 'auto');
ga('send', 'pageview');
</script>

<script src="/bower_components/jquery/dist/jquery.min.js"></script>
<script src="/bower_components/angular/angular.js"></script>
<script src="/bower_components/angularytics/dist/angularytics.min.js"></script>
<script src="/bower_components/angular-aria/angular-aria.js"></script>
<script src="/bower_components/angular-route/angular-route.js"></script>
<script src="/bower_components/angular-resource/angular-resource.js"></script>
<script src="/bower_components/angular-animate/angular-animate.js"></script>
<script src="/bower_components/hammerjs/hammer.js"></script>
<script src="/bower_components/angular-material/angular-material.js"></script>
<script src="/bower_components/angular-environment/dist/angular-environment.min.js"></script>
<script src="/bower_components/angular-local-storage/dist/angular-local-storage.min.js"></script>
<script src="/bower_components/jquery-ui/jquery-ui.min.js"></script>
<script src="/bower_components/angular-ui-sortable/sortable.min.js"></script>
<script src="/bower_components/js-throttle-debounce/build/js-throttle-debounce.min.js"></script>

<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/baseCtrl.js"></script>
<script type="text/javascript" src="js/userCtrl.js"></script>
<script type="text/javascript" src="js/groupCtrl.js"></script>
<script type="text/javascript" src="js/specCtrl.js"></script>
<script type="text/javascript" src="js/specTabCtrl.js"></script>
<script type="text/javascript" src="js/sidebarCtrl.js"></script>
<script type="text/javascript" src="js/specResource.js"></script>
<script type="text/javascript" src="js/filters.js"></script>
<script type="text/javascript" src="js/canvasDirectives.js"></script>
<script type="text/javascript" src="js/specDirectives.js"></script>
<script type="text/javascript" src="js/storageService.js"></script>
<script type="text/javascript" src="js/projectListService.js"></script>
<script type="text/javascript" src="js/gapi.js"></script>
<script type="text/javascript" src="https://apis.google.com/js/api.js?onload=onApiLoad"></script>
</body>
</html>

<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="css/icons.css">
<link rel="stylesheet" href="/node_modules/angular-material/angular-material.css">
<link rel="stylesheet" href="css/style.css">

<title>Direct</title>
</head>

<body ng-controller="baseCtrl">
<ng-view></ng-view>

<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

ga('create', 'UA-80214706-7', 'auto');
ga('send', 'pageview');
</script>

<script src="/node_modules/jquery/dist/jquery.min.js"></script>
<script src="/node_modules/angular/angular.js"></script>
<script src="/node_modules/angularytics/dist/angularytics.min.js"></script>
<script src="/node_modules/angular-aria/angular-aria.js"></script>
<script src="/node_modules/angular-route/angular-route.js"></script>
<script src="/node_modules/angular-resource/angular-resource.js"></script>
<script src="/node_modules/angular-animate/angular-animate.js"></script>
<script src="/node_modules/hammerjs/hammer.js"></script>
<script src="/node_modules/angular-material/angular-material.js"></script>
<script src="/node_modules/angular-environment/dist/angular-environment.min.js"></script>
<script src="/node_modules/angular-local-storage/dist/angular-local-storage.min.js"></script>
<script src="/third_party/jquery-ui/jquery-ui.min.js"></script>
<script src="/third_party/angular-ui-sortable/sortable.min.js"></script>
<script src="/node_modules/js-throttle-debounce/build/js-throttle-debounce.min.js"></script>

<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/baseCtrl.js"></script>
<script type="text/javascript" src="js/userCtrl.js"></script>
<script type="text/javascript" src="js/groupCtrl.js"></script>
<script type="text/javascript" src="js/specCtrl.js"></script>
<script type="text/javascript" src="js/specTabCtrl.js"></script>
<script type="text/javascript" src="js/sidebarCtrl.js"></script>
<script type="text/javascript" src="js/specResource.js"></script>
<script type="text/javascript" src="js/filters.js"></script>
<script type="text/javascript" src="js/canvasDirectives.js"></script>
<script type="text/javascript" src="js/specDirectives.js"></script>
<script type="text/javascript" src="js/storageService.js"></script>
<script type="text/javascript" src="js/projectListService.js"></script>
<script type="text/javascript" src="js/gapi.js"></script>
<script type="text/javascript" src="https://apis.google.com/js/api.js?onload=onApiLoad"></script>
</body>

</html>
Loading

0 comments on commit e09fa54

Please sign in to comment.