can-stache-transform

0.1.0 • Public • Published

Canjs Stache template transformer for Jestjs

Install

npm install can-stache-transform --save-dev

Jest configuration:

module.exports = {
    testEnvironment: 'jest-environment-jsdom',
    transformIgnorePatterns: [
        "/node_modules/(?!can)"
    ],
    moduleFileExtensions: ["js", "stache"],
    transform: {
        "^.+\\.js$": "babel-jest",
        "^.+\\.mjs$": "babel-jest",
        "^.+\\.stache$": 'can-stache-transform',
    },
}

Package Sidebar

Install

npm i can-stache-transform

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

7.28 kB

Total Files

15

Last publish

Collaborators

  • cherif_b