[openspending-dev] File structure of Taxman for Japan

Yoshihide Jimbo yjimbo at gmail.com
Tue Jul 23 15:12:18 UTC 2013


Hi all,

I'm writing a taxman's tax calculator for Japan now, and I'd like to get
your opinions about its file structure before sending a pull request.

I write tests with Mocha and use Grunt.js to run tests and lint my
CoffeeScript codes with CoffeeLint <http://www.coffeelint.org/>. My current
file structure is the following.

```
└── tax/
    └── jp/
        ├── node_modules/
        │   ├── grunt/
        │   ├── grunt-coffeelint/
        │   ├── grunt-contrib-watch/
        │   ├── grunt-simple-mocha/
        │   └── should/
        ├── test/
        ├── Gruntfile.js
        ├── README.md
        ├── data.coffee
        ├── index.coffee
        └── package.json
```

Whether should I put my own node_modules directory and package.json in
tax/jp directory or put them together in taxman's root directory?

What do you think?

Thanks,
Yoshihide Jimbo (@jmblog)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/openspending-dev/attachments/20130724/84b609dd/attachment.html>


More information about the openspending-dev mailing list