davidjsherman / thymio-scratchx

A ScratchX extension for Thymio
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Restructure repository #1

Open davidjsherman opened 7 years ago

davidjsherman commented 7 years ago

Currently the repository doesn't follow standard practice for source code directories, so it will be hard to introduce development tools like npm, webpack, karma, jasmine.

├── package.json
├── package-lock.json
├── webpack.config.js
├── node_modules
├── index.html
├── src/
│   ├── js/
│   │   ├── isotope.pkgd.min.js # library
│   │   ├── activelinkscroll.js # library
│   │   └── thymio_blocks.js    # thymio blocks library
│   ├── css/
│   │   └── style.css           # style sheet
│   └── thymio_extension.js     # extension file to be loaded by ScratchX
├── static/                     # pure static assets (directly copied)
│   ├── thymio_motion.aesl      # static AESL program for robot
│   ├── activities/             # static .sbx examples
│   └── img/                    # static images
├── test/
│   └── unit/                   # unit tests
│   │   ├── specs/              # test spec files
│   │   ├── index.js            # test build entry file
│   │   └── karma.conf.js       # test runner config file
│   └── e2e/                    # e2e tests
│   │   ├── specs/              # test spec files
│   │   └── runner.js           # test runner script
└── dist
    ├── bundle.js               # compiled by webpack
    └── index.html              # compiled by webpack