-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
75 lines (75 loc) · 2.3 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
{
"name": "mage-module-staticdata",
"version": "0.1.0",
"description": "Static data module, including a Google Spreadsheet add-on to manage exports and imports",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"postinstall": "node -e \"process.exit(require('is-there')('./lib') ? 0 : 1)\" || npm run build",
"build": "tsc --project ./src",
"prepublish": "run-s test build",
"test:lint": " echo 'Check TypeScript code for style issues' && tslint --type-check --format codeFrame --project . --exclude=\"**/node_modules/**/*.ts\"",
"test:cpd": " echo 'Check the codebase for copy-pasted code' && jscpd --config .cpd.yaml",
"test:unit": " echo 'Run unit tests' && mocha --compilers ts:ts-node/register -R mocha-reporter ./test/index.ts",
"test:coverage": " echo 'Run unit tests and check coverage level' && nyc --check-coverage --reporter=text --reporter=html npm run test:unit",
"test:git": " echo 'Make sure all commits are signed' && git-signed",
"test": "run-s test:*"
},
"nyc": {
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100,
"include": [
"src/*.ts",
"src/**/*.ts"
],
"exclude": [
"typings"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"cache": "true",
"instrument": "true",
"report-dir": "./coverage-report"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mage/mage-module-staticdata.git"
},
"keywords": [
"mage",
"validator",
"typescript"
],
"author": "Marc Trudel <mtrudel@wizcorp.jp>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mage/mage-module-staticdata/issues"
},
"homepage": "https://github.com/mage/mage-module-staticdata#readme",
"devDependencies": {
"@types/mocha": "2.2.41",
"@types/node": "7.0.21",
"git-message": "1.0.3",
"git-signed": "0.0.2",
"jscpd": "0.6.11",
"mage": "github:mage/mage#master",
"mocha": "3.4.2",
"mocha-reporter": "0.0.3",
"npm-run-all": "4.0.2",
"nyc": "10.3.2",
"ts-node": "3.0.4",
"tslint": "5.3.2",
"typescript": "2.3.3"
},
"dependencies": {
"class-transformer": "0.1.6",
"class-validator": "0.7.0",
"reflect-metadata": "0.1.10"
}
}