├── .gitignore ├── .travis.yml ├── LICENSE ├── Makefile ├── index.js ├── package.json ├── readme.md └── test ├── fixtures ├── conf1.json ├── conf10.json ├── conf11.json ├── conf12.json ├── conf2.json ├── conf3.json ├── conf4.json ├── conf5.json ├── conf6.json ├── conf7.json ├── conf8.json ├── conf9.cjson ├── errors │ └── invalid.cjson └── templates │ ├── conf11tmpl.json │ └── conf12tmpl.json └── test.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/Makefile -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/readme.md -------------------------------------------------------------------------------- /test/fixtures/conf1.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "value" 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/conf10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/test/fixtures/conf10.json -------------------------------------------------------------------------------- /test/fixtures/conf11.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/test/fixtures/conf11.json -------------------------------------------------------------------------------- /test/fixtures/conf12.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/test/fixtures/conf12.json -------------------------------------------------------------------------------- /test/fixtures/conf2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/test/fixtures/conf2.json -------------------------------------------------------------------------------- /test/fixtures/conf3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/test/fixtures/conf3.json -------------------------------------------------------------------------------- /test/fixtures/conf4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/test/fixtures/conf4.json -------------------------------------------------------------------------------- /test/fixtures/conf5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/test/fixtures/conf5.json -------------------------------------------------------------------------------- /test/fixtures/conf6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/test/fixtures/conf6.json -------------------------------------------------------------------------------- /test/fixtures/conf7.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "{{root}}/src" 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/conf8.json: -------------------------------------------------------------------------------- 1 | { 2 | // "foo": 1 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/conf9.cjson: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/errors/invalid.cjson: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/templates/conf11tmpl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/test/fixtures/templates/conf11tmpl.json -------------------------------------------------------------------------------- /test/fixtures/templates/conf12tmpl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/test/fixtures/templates/conf12tmpl.json -------------------------------------------------------------------------------- /test/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/node-cjson/HEAD/test/test.js --------------------------------------------------------------------------------