webpack-typescript-lib-quickstart
Version:
Quickstart project for TypeScript library that runs on browsers or Node build with Webpack2.
92 lines (91 loc) • 3.04 kB
JSON
{
"name": "webpack-typescript-lib-quickstart",
"version": "0.1.4",
"description": "Quickstart project for TypeScript library that runs on browsers or Node build with Webpack2.",
"keywords": [
"Quickstart",
"Webpack",
"Webpack2",
"Node",
"TypeScript",
"Library",
"SCSS",
"PostCSS",
"CI",
"scaffolding",
"Getting started",
"Starter"
],
"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:postbuild",
"build:node:dev:body": "tsc -p ./tsconfig.json",
"build:node:prod": "run-s build:node:prod:body build:node:postbuild",
"build:node:prod:body": "cross-env NODE_ENV=production tsc -p ./tsconfig.json",
"build:node:postbuild": "run-s build:node:postbuild:0 build:node:postbuild:1",
"build:node:postbuild:0": "shx cp -R src/assets bin",
"build:node:postbuild:1": "shx cp -R src/views bin",
"build:dist:dev": "webpack --config webpack.config.js",
"build:dist:prod": "cross-env NODE_ENV=production webpack -p --config webpack.config.js",
"clean": "rimraf ./bin ./declarations ./dist",
"lint": "tslint ./src/**/*.ts -t verbose",
"test": "jasmine",
"start": "node --harmony ./bin/app.js",
"postinstall": "run-s --silent rebuild",
"prepublish": "run-s --silent rebuild test clean",
"watch": "webpack --config webpack.config.js --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shellyln/webpack-typescript-lib-quickstart.git"
},
"engines": {
"node": "7.x"
},
"author": "shellyln",
"license": "MIT",
"homepage": "https://github.com/shellyln/webpack-typescript-lib-quickstart",
"devDependencies": {},
"peerDependencies": {},
"dependencies": {
"@types/jasmine": "^2.5.51",
"@types/node": "^7.0.27",
"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",
"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",
"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.3.3",
"url-loader": "^0.5.8",
"webpack": "^2.6.1"
}
}