├── .editorconfig ├── .gitignore ├── .npmignore ├── .travis.yml ├── LICENSE.md ├── README.md ├── contributing.md ├── lib └── index.js ├── package.json ├── test ├── fixtures │ ├── data │ │ ├── app.js │ │ └── index.html │ ├── graphql │ │ ├── app.js │ │ └── index.html │ ├── template │ │ ├── app.js │ │ ├── index.html │ │ └── template.html │ ├── testFile.json │ ├── testFileTransformRaw.json │ └── tpl_resolve │ │ ├── app.js │ │ ├── layout.html │ │ └── templates │ │ └── tpl.html └── index.js └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | .nyc_output 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/README.md -------------------------------------------------------------------------------- /contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/contributing.md -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/lib/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/package.json -------------------------------------------------------------------------------- /test/fixtures/data/app.js: -------------------------------------------------------------------------------- 1 | console.log('test') 2 | -------------------------------------------------------------------------------- /test/fixtures/data/index.html: -------------------------------------------------------------------------------- 1 |
{{ test.success }}
2 | -------------------------------------------------------------------------------- /test/fixtures/graphql/app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/graphql/index.html: -------------------------------------------------------------------------------- 1 |{{ test.data.allPosts[0].description }}
2 | -------------------------------------------------------------------------------- /test/fixtures/template/app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/template/index.html: -------------------------------------------------------------------------------- 1 |{{ posts.length }}
2 | -------------------------------------------------------------------------------- /test/fixtures/template/template.html: -------------------------------------------------------------------------------- 1 |{{ item.title }}
2 | -------------------------------------------------------------------------------- /test/fixtures/testFile.json: -------------------------------------------------------------------------------- 1 | { 2 | "success": true 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/testFileTransformRaw.json: -------------------------------------------------------------------------------- 1 | { 2 | "success": false 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/tpl_resolve/app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/tpl_resolve/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/test/fixtures/tpl_resolve/layout.html -------------------------------------------------------------------------------- /test/fixtures/tpl_resolve/templates/tpl.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/test/fixtures/tpl_resolve/templates/tpl.html -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/test/index.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/static-dev/spike-records/HEAD/yarn.lock --------------------------------------------------------------------------------