forked from mediamonks/seng-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 4.9 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "seng-boilerplate",
"version": "1.2.0",
"description": "Boilerplate and example project for all Seng projects",
"main": "index.js",
"typings": "index",
"scripts": {
"postinstall": "npm run typings",
"prepublish": "npm run build:npm",
"typings": "typings install",
"test": "npm-run-all test:*",
"test:unit": "karma start --single-run --browsers PhantomJS",
"test:unit:dev": "karma start karma.conf.dev.js",
"validate": "npm-run-all -p validate:webpack lint test:unit -s validate:coverage",
"validate:webpack": "webpack-validator config/webpack.config.dist.js && webpack-validator config/webpack.config.test.js",
"validate:coverage": "istanbul check-coverage --statement 1 --branches 1 --functions 1 --lines 1",
"lint": "npm-run-all lint:*",
"lint:ts": "tslint -c tslint.json src/**/*.ts",
"clean": "npm-run-all clean:*",
"clean:test": "shx rm -rf coverage",
"clean:npm": "shx rm -rf lib npm index.js index.d.ts",
"clean:dist": "shx rm -rf dist \"seng-*.@(zip|tar.gz)\"",
"compile": "npm-run-all compile:*",
"compile:npm": "npm run clean:npm && tsc -p ./ -d --outDir ./npm && shx mv \"./npm/*\" ./ && shx rm -rf ./npm",
"compile:dist:typescript:es6": "tsc -p ./ -t es6 -m es6 --outDir ./dist/es6/",
"compile:dist:webpack": "node script/webpack.js",
"doc": "npm-run-all -p doc:*",
"doc:typedoc": "typedoc --out doc/typedoc/ src/",
"generate": "npm-run-all clean compile test:unit doc",
"build": "npm-run-all clean compile",
"dev": "node script/webpack-dev.js",
"build:npm": "npm-run-all test compile:npm",
"build:dist": "npm-run-all clean:dist compile:dist:**"
},
"scriptsComment": {
"test": "Placeholder for all types of tests",
"test:unit": "Runs unit tests with Karma in PhantomJS",
"test:unit:dev": "Runs unit tests with Karma in PhantomJS (with the watch mode)",
"validate": "Runs all scripts that validate if the contents of this repos is correct",
"validate:webpack": "Validates the webpack config file",
"validate:coverage": "Checks if the code coverage results are above a defined minimun",
"lint": "Placeholder for all types if linting checks",
"lint:ts": "Lints the source files using tslint",
"clean": "Placeholder for all clean tasks, resets the checkout to a clean state",
"clean:test": "Remove all test related output",
"clean:npm": "Remove all npm related output",
"clean:dist": "Remove all dist related output",
"compile": "Placeholder for all tasks that compile code",
"compile:npm": "Compiles the code for npm. The output needs to end up in the current directory, but if we use that as outputPath in tsconfig.json it disables file-globbing for the includes array. That's why we are outputting it in a npm folder, and then moving it the this folder.",
"compile:dist:typescript:es6": "Compiles typescript to es6 code in the dist folder",
"compile:dist:webpack": "Compiles all dist bundles with webpack",
"doc": "Placeholder for all doc scripts",
"doc:typedoc": "Runs typedoc",
"generate": "Placeholder for all scripts that generate something (code, test, doc, etc)",
"build": "Cleans and compiles everything",
"dev": "Compiles browser dist bundle with webpack and starts server",
"build:npm": "Prepares the checkout for an npm publish",
"build:dist": "Prepares the checkout for travis deployments to github and s3"
},
"pre-push": [
"validate"
],
"author": "Arjan van Wijk <[email protected]> (https://github.com/thanarie)",
"homepage": "https://www.mediamonks.com/",
"license": "MIT",
"keywords": [
"seng",
"mediamonks",
"boilerplate"
],
"bugs": {
"url": "https://github.com/mediamonks/seng-boilerplate/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/mediamonks/seng-boilerplate.git"
},
"devDependencies": {
"archiver": "^1.0.0",
"awesome-typescript-loader": "2.0.1",
"chai": "^3.5.0",
"coveralls": "^2.11.6",
"es6-promise": "^3.2.1",
"es6-promisify": "^4.1.0",
"es6-promisify-all": "^0.1.0",
"istanbul": "^0.4.3",
"istanbul-instrumenter-loader": "^0.2.0",
"karma": "^0.13.22",
"karma-chai": "^0.1.0",
"karma-coverage": "^1.0.0",
"karma-mocha": "^1.1.1",
"karma-mocha-reporter": "^2.2.0",
"karma-phantomjs-launcher": "^1.0.0",
"karma-remap-istanbul": "^0.1.1",
"karma-source-map-support": "^1.1.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.7.0",
"marked": "^0.3.5",
"mocha": "^2.5.3",
"npm-run-all": "^2.2.0",
"phantomjs-prebuilt": "^2.1.3",
"pre-push": "^0.1.1",
"remap-istanbul": "^0.6.4",
"shx": "^0.1.2",
"ts-helpers": "^1.1.1",
"tslint": "^3.3.0",
"typedoc": "^0.4.3",
"typescript": "^1.8.10",
"webpack": "^1.12.12",
"webpack-system-register": "^1.3.2",
"webpack-validator": "^2.1.3",
"webpack-dev-server": "^1.16.2"
},
"dependencies": {}
}