{"id":15292660,"url":"https://github.com/shellyln/knockout-webpack-ts-quickstart","last_synced_at":"2026-03-12T15:02:36.322Z","repository":{"id":74004082,"uuid":"94005897","full_name":"shellyln/knockout-webpack-ts-quickstart","owner":"shellyln","description":"Quickstart project for knockout.js + TypeScript with Webpack2.","archived":false,"fork":false,"pushed_at":"2017-06-23T23:01:57.000Z","size":284,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-21T19:36:26.095Z","etag":null,"topics":["decorators","knockout","knockoutjs","quickstart","scaffolding","starter","starter-template","typescript","webpack","webpack2"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shellyln.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-11T13:23:45.000Z","updated_at":"2025-05-27T10:05:08.000Z","dependencies_parsed_at":"2023-07-11T14:34:30.425Z","dependency_job_id":null,"html_url":"https://github.com/shellyln/knockout-webpack-ts-quickstart","commit_stats":null,"previous_names":[],"tags_count":3,"template":true,"template_full_name":null,"purl":"pkg:github/shellyln/knockout-webpack-ts-quickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellyln%2Fknockout-webpack-ts-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellyln%2Fknockout-webpack-ts-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellyln%2Fknockout-webpack-ts-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellyln%2Fknockout-webpack-ts-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shellyln","download_url":"https://codeload.github.com/shellyln/knockout-webpack-ts-quickstart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellyln%2Fknockout-webpack-ts-quickstart/sbom","scorecard":{"id":817584,"data":{"date":"2025-08-11","repo":{"name":"github.com/shellyln/knockout-webpack-ts-quickstart","commit":"9940a94c11165baf19f3b1f5022ff43b5d156c54"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"136 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-wxhq-pm8v-cw75","Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h","Warn: Project is vulnerable to: GHSA-3fw8-66wf-pr7m","Warn: Project is vulnerable to: GHSA-6w62-83g6-rfhj","Warn: Project is vulnerable to: GHSA-rch9-xh7r-mqgw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-hr2v-3952-633q","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-r7jx-5m6m-cpg9","Warn: Project is vulnerable to: GHSA-vh7m-p724-62c2","Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-j4f2-536g-r55m","Warn: Project is vulnerable to: GHSA-r7qp-cfhv-p84w","Warn: Project is vulnerable to: GHSA-gpvr-g6gh-9mc2","Warn: Project is vulnerable to: GHSA-cm5g-3pgc-8rg4","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9qj9-36jm-prpv","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-xf7w-r453-m56c","Warn: Project is vulnerable to: GHSA-44pw-h2cw-w3vq","Warn: Project is vulnerable to: GHSA-jp4x-w63m-7wgm","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-pfq8-rq6v-vf5m","Warn: Project is vulnerable to: GHSA-6x33-pw7p-hmpq","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-4hpf-3wq7-5rpr","Warn: Project is vulnerable to: GHSA-f522-ffg8-j8r6","Warn: Project is vulnerable to: GHSA-7r28-3m3f-r2pr","Warn: Project is vulnerable to: GHSA-r8j5-h5cx-65gg","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-282f-qqgm-c34q","Warn: Project is vulnerable to: GHSA-7x7c-qm48-pq9c","Warn: Project is vulnerable to: GHSA-rc3x-jf5g-xvc5","Warn: Project is vulnerable to: GHSA-89w7-5q45-r53w","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-5947-m4fg-xhqg","Warn: Project is vulnerable to: GHSA-779f-wgxg-qr8f","Warn: Project is vulnerable to: GHSA-82v2-mx6x-wq7q","Warn: Project is vulnerable to: GHSA-pp57-mqmh-44h7","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-wrvr-8mpx-r7pp","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-446m-mv8f-q348","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g","Warn: Project is vulnerable to: GHSA-w9mr-4mfr-499f","Warn: Project is vulnerable to: GHSA-ff6r-5jwm-8292","Warn: Project is vulnerable to: GHSA-9v62-24cr-58cx","Warn: Project is vulnerable to: GHSA-r8f7-9pfq-mjmv","Warn: Project is vulnerable to: GHSA-cwx2-736x-mf6w","Warn: Project is vulnerable to: GHSA-v39p-96qg-c8rf","Warn: Project is vulnerable to: GHSA-8v63-cqqc-6r2c","Warn: Project is vulnerable to: GHSA-q75g-2496-mxpp","Warn: Project is vulnerable to: GHSA-6fx8-h7jm-663j","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-f9cm-p3w6-xvr3","Warn: Project is vulnerable to: GHSA-jjv7-qpx3-h62q","Warn: Project is vulnerable to: GHSA-gqgv-6jq5-jjj9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-6g33-f262-xjp4","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-7mwh-4pqv-wmr8","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-fxwf-4rqh-v8g3","Warn: Project is vulnerable to: GHSA-25hc-qcg6-38wj","Warn: Project is vulnerable to: GHSA-xfhh-g9f5-x4m4","Warn: Project is vulnerable to: GHSA-qm95-pgcg-qqfq","Warn: Project is vulnerable to: GHSA-cqmj-92xf-r6r9","Warn: Project is vulnerable to: GHSA-2m39-62fm-q8r3","Warn: Project is vulnerable to: GHSA-mf6x-7mm4-x2g7","Warn: Project is vulnerable to: GHSA-j44m-qm6p-hp7m","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-g7q5-pjjr-gqvp","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-xc7v-wxcw-j472","Warn: Project is vulnerable to: GHSA-662x-fhqg-9p8v","Warn: Project is vulnerable to: GHSA-394c-5j6w-4xmx","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq","Warn: Project is vulnerable to: GHSA-mgfv-m47x-4wqp","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-5v72-xg48-5rpm","Warn: Project is vulnerable to: GHSA-72mh-269x-7mh5","Warn: Project is vulnerable to: GHSA-h4j5-c7cj-74xg","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T14:35:08.875Z","repository_id":74004082,"created_at":"2025-08-23T14:35:08.875Z","updated_at":"2025-08-23T14:35:08.875Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30429298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decorators","knockout","knockoutjs","quickstart","scaffolding","starter","starter-template","typescript","webpack","webpack2"],"created_at":"2024-09-30T16:25:27.826Z","updated_at":"2026-03-12T15:02:36.315Z","avatar_url":"https://github.com/shellyln.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# knockout-webpack-ts-quickstart\nQuickstart project for knockout.js + TypeScript + decorators with Webpack2.\n\n[![npm](https://img.shields.io/npm/v/knockout-webpack-ts-quickstart.svg)](https://www.npmjs.com/package/knockout-webpack-ts-quickstart)\n[![GitHub release](https://img.shields.io/github/release/shellyln/knockout-webpack-ts-quickstart.svg)](https://github.com/shellyln/knockout-webpack-ts-quickstart/releases)\n[![Travis](https://img.shields.io/travis/shellyln/knockout-webpack-ts-quickstart/master.svg)](https://travis-ci.org/shellyln/knockout-webpack-ts-quickstart)\n[![GitHub forks](https://img.shields.io/github/forks/shellyln/knockout-webpack-ts-quickstart.svg?style=social\u0026label=Fork)](https://github.com/shellyln/knockout-webpack-ts-quickstart/fork)\n[![GitHub stars](https://img.shields.io/github/stars/shellyln/knockout-webpack-ts-quickstart.svg?style=social\u0026label=Star)](https://github.com/shellyln/knockout-webpack-ts-quickstart)\n\n---\n\n### Features\n* Use decorators similar syntax to Angular.  \n  See `src/app/AppModule.ts` and `src/app/components/*Component.ts`.\n* Compile TypeScript source and output as single file with source map.\n* Compile SCSS, do auto-prefixing (PostCSS), and output as single CSS file with source map.\n* Run unit tests ([jasmine](https://jasmine.github.io/)).\n* Include CI configurations\n  ([Travis CI](https://travis-ci.org/),\n   [bitbucket pipelines](https://www.atlassian.com/software/bitbucket/features/pipelines),\n   [Wercker](http://www.wercker.com/),\n   [AWS CodeBuild](https://aws.amazon.com/codebuild/)).\n* Include Visual Studio Code debugger and tasks configurations.\n\n\n### Use with legacy IE (IE 7/8)\nSee [legacy-ie-fix](https://github.com/shellyln/knockout-webpack-ts-quickstart/tree/legacy-ie-fix) branch.\n\n\n# Usage (Starting your project)\n1. Fork and clone me.\n1. Edit package informations of `package.json`.  \n   Don't remember to change repository url, author, homepage.\n1.  Edit library name and output file name of `webpack.config.js`.  \n    ```javascript\n    // [Node-single-js-file]: Packing a Node single Javascript file.\n    {\n        entry: {\n            // TODO: YOU SHOULD REPLACE THE LIBRARY OUTPUT NAME!\n            \u003cyour-output-name\u003e: path.resolve(__dirname, 'src/index.ts')\n        },\n        output: {\n            // TODO: YOU SHOULD REPLACE THE LIBRARY NAME!\n            library: '\u003cyour-library-name\u003e',\n            ...\n        },\n        module: {\n            rules: [{\n                test: /\\.tsx?$/,\n                ...\n\n                // TODO: YOU SHOULD REPLACE THE PACKAGE NAME!\n                // exclude 'node_module' directory except myself (refered from other packages)\n                exclude: /node_modules[\\/\\\\](?!knockout-webpack-ts-quickstart).*$/\n            }, {\n                test: /\\.jsx?$/,\n                ...\n\n                // TODO: YOU SHOULD REPLACE THE PACKAGE NAME!\n                // exclude 'node_module' directory except myself (refered from other packages)\n                exclude: /node_modules[\\/\\\\](?!knockout-webpack-ts-quickstart).*$/\n            }, {\n            ...\n    },\n\n    // [Browser-single-js-file]: Packing a library Javascript file.\n    {\n        entry: {\n            // TODO: YOU SHOULD REPLACE THE LIBRARY OUTPUT NAME!\n            \u003cyour-output-name\u003e: path.resolve(__dirname, 'src/index.ts')\n        },\n        output: {\n            // TODO: YOU SHOULD REPLACE THE LIBRARY NAME!\n            library: '\u003cyour-library-name\u003e',\n            ...\n        },\n        module: {\n            rules: [{\n                test: /\\.tsx?$/,\n                ...\n\n                // TODO: YOU SHOULD REPLACE THE PACKAGE NAME!\n                // exclude 'node_module' directory except myself (refered from other packages)\n                exclude: /node_modules[\\/\\\\](?!knockout-webpack-ts-quickstart).*$/\n            }, {\n                test: /\\.jsx?$/,\n                ...\n\n                // TODO: YOU SHOULD REPLACE THE PACKAGE NAME!\n                // exclude 'node_module' directory except myself (refered from other packages)\n                exclude: /node_modules[\\/\\\\](?!knockout-webpack-ts-quickstart).*$/\n            }, {\n            ...\n    },\n    ```\n1. Write your code.\n1. and build it.  \n   ```sh\n   npm run build\n   npm test\n   ```\n\n\n\n\n# Compile SCSS Stylesheets to single CSS file.\n1. Clone me:  \n   ```sh\n   git clone shellyln/knockout-webpack-ts-quickstart.git\n   ```\n1. Build me:\n   ```sh\n   npm run build\n   npm test\n   ```\n1. Copy `dist/style.min.css` and `dist/style.min.css.map` to your site.\n1. and use:\n\napp.html\n```html\n\u003chead\u003e\n    \u003clink rel=\"stylesheet\" type=\"text/css\" href=\"path/to/style.min.css\"\u003e\n\u003c/head\u003e\n```\n\n\n\n\n# Debugging with Webpack\n1. `npm start`\n1. Run browser's devtools.\n1. Fix anything and save it.\n1. Go back to line 2.\n\n\n\n\n# Directory structure\n* /bin/ : Output directory of Node module javascript file (CommonJS) that build with tsc.\n* /dist/ : Output directory of distribution javascript single file (AMD ; for browsers) and stylesheet single file that build+packed by Webpack.\n* /declarations/ : Output directory of TypeScript declaration.\n* /spec/ : Directory of [jasmine](https://jasmine.github.io/) configurations.\n* /src/index.ts : Library main file.\n* /src/app.ts : Entry point file.\n* /src/app/ : Application source files.\n* /src/app/components : Components source files.\n* /src/lib/ : Directory of library program codes.\n* /src/spec/ : Directory of unit test codes. We use [jasmine](https://jasmine.github.io/).\n* /src/assets/scss/ : Directory of stylesheet source.\n* /src/assets/ : Assets packed by Webpack.\n* /.babelrc : Babel configuration.\n* /.gitignore : git ignore list.\n* /.npmignore : NPM ignore list.\n* /package.json : NPM package configuration.\n* /tsconfig.json : [TypeScript compiler options](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for Node module output. it also uses for IDEs' error checking and coding assistance.\n* /tsconfig-webpack-dist.json : [TypeScript compiler options](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for distribution single file output.\n* /webpack.config.js : [Webpack2 build configuration](https://webpack.js.org/configuration/).\n* /.travis.yml : [Travis CI](https://travis-ci.org/) test and deploying pipeline configuration.\n* /bitbucket-pipelines.yml : [bitbucket pipelines](https://www.atlassian.com/software/bitbucket/features/pipelines) test and deploying pipeline configuration.\n* /bitbucket-heroku-deploy.sh : bitbucket test and deploying pipeline helper shell script.\n* /wercker.yml : [Wercker](http://www.wercker.com/) test and deploying pipeline configuration.\n* /buildspec.yml : AWS CodeBuild test and deploying pipeline configuration.\n* /buildspec-heroku-pre-deploy.sh : AWS CodeBuild test and deploying pipeline helper shell script.\n* /buildspec-heroku-deploy.sh : AWS CodeBuild test and deploying pipeline helper shell script.\n\n\n\n\n# NPM scripts\n* build : Build for production.\n* rebuild : Clean all output and build for production.\n* build:node:dev : Build Node module output (CommonJS) for develop.\n* build:node:prod : Build Node module output (CommonJS) for production.\n* build:dist:dev : Build distribution output (AMD) for develop.\n* build:dist:prod : Build distribution output (AMD) for production.\n* clean : Clean all output.\n* test : Run unit tests.\n* start : Run codes for debugging (bin/app.js).\n* watch : Build distribution output and watch continuously.\n\n\n\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellyln%2Fknockout-webpack-ts-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshellyln%2Fknockout-webpack-ts-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellyln%2Fknockout-webpack-ts-quickstart/lists"}