UNPKG

knockout-webpack-ts-quickstart

Version:

Quickstart project for knockout.js + TypeScript + decorators with Webpack2.

112 lines (111 loc) 3.71 kB
{ "name": "knockout-webpack-ts-quickstart", "version": "0.1.0", "description": "Quickstart project for knockout.js + TypeScript + decorators with Webpack2.", "keywords": [ "Quickstart", "Webpack", "Webpack2", "knockout.js", "decorator", "TypeScript", "SCSS", "PostCSS", "CI", "scaffolding", "Getting started", "Starter", "IE", "IE7", "IE8" ], "main": "./bin/index.js", "typings": "./declarations/index.d.ts", "types": "./declarations/index.d.ts", "scripts": { "build": "run-s --silent build:node:prod build:dist:prod", "rebuild": "run-s --silent clean build", "build:node:dev": "run-s build:node:dev:body", "build:node:dev:body": "tsc -p ./tsconfig.json", "build:node:prod": "run-s build:node:prod:body", "build:node:prod:body": "cross-env NODE_ENV=production tsc -p ./tsconfig.json", "build:dist:dev": "run-s build:dist:dev:body build:dist:postbuild", "build:dist:dev:body": "webpack --config webpack.config.js", "build:dist:prod": "run-s build:dist:prod:body build:dist:postbuild", "build:dist:prod:body": "cross-env NODE_ENV=production webpack -p --config webpack.config.js", "build:dist:postbuild": "run-s build:dist:postbuild:0 build:dist:postbuild:1", "build:dist:postbuild:0": "shx cp src/index.html dist/.", "build:dist:postbuild:1": "shx cp -R src/assets dist", "clean": "rimraf ./bin ./declarations ./dist", "lint": "tslint ./src/**/*.ts -t verbose", "test": "karma start karma.conf.js", "serve": "lite-server -c=bs-config.json", "watch": "webpack --config webpack.config.js --watch", "start": "run-p watch serve", "xxxpostinstall": "run-s --silent rebuild", "xxxprepublish": "run-s --silent rebuild test clean", "prepublish": "run-s --silent clean" }, "repository": { "type": "git", "url": "git+https://github.com/shellyln/knockout-webpack-ts-quickstart.git" }, "engines": { "node": "7.x" }, "author": "shellyln", "license": "MIT", "homepage": "https://github.com/shellyln/knockout-webpack-ts-quickstart", "devDependencies": { "@types/bootstrap": "^3.3.33", "@types/jasmine": "^2.5.52", "@types/jquery": "^2.0.46", "@types/knockout": "^3.4.40", "@types/node": "^7.0.31", "autoprefixer": "^7.1.1", "babel-cli": "^6.24.1", "babel-loader": "^7.0.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-es2015": "^6.24.1", "babel-preset-es2016": "^6.24.1", "babel-preset-es2017": "^6.24.1", "babel-preset-stage-3": "^6.24.1", "core-js": "^2.4.1", "cpx": "^1.5.0", "cross-env": "^5.0.0", "css-loader": "^0.28.3", "extract-text-webpack-plugin": "^2.1.0", "file-loader": "^0.11.1", "html-loader": "^0.4.5", "jasmine": "^2.6.0", "jasmine-spec-reporter": "^4.1.0", "karma": "^1.7.0", "karma-chrome-launcher": "^2.1.1", "karma-cli": "^1.0.1", "karma-jasmine": "^1.1.0", "karma-jasmine-html-reporter": "^0.2.2", "karma-sourcemap-loader": "^0.3.7", "karma-spec-reporter": "0.0.31", "karma-webpack": "^2.0.3", "lite-server": "^2.3.0", "mkdirp": "^0.5.1", "node-sass": "^4.5.3", "npm-run-all": "^4.0.2", "postcss-custom-properties": "^6.0.1", "postcss-loader": "^2.0.5", "postcss-nested": "^2.0.2", "rimraf": "^2.6.1", "sass-loader": "^6.0.5", "shx": "^0.2.2", "source-map-loader": "^0.2.1", "style-loader": "^0.18.1", "to-string-loader": "^1.1.5", "ts-loader": "^2.1.0", "tslint": "^5.4.3", "typescript": "^2.4.0", "url-loader": "^0.5.9", "webpack": "^2.6.1" }, "peerDependencies": {}, "dependencies": {} }