forked from onsol-labs/ans-validation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 3.26 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
{
"name": "@onsol/ans-validation",
"version": "0.1.1",
"description": "",
"private": false,
"main": "dist/ans-validation.umd.js",
"module": "dist/ans-validation.es6.js",
"types": "dist/dts/index.d.ts",
"unpkg": "dist/index.js",
"scripts": {
"test": "jest",
"test:mem": "npm test -- --coverage --silent --logHeapUsage",
"test:watch": "jest --watch",
"test:prod": "yarn test -- --coverage --no-cache",
"test:prepublish": "yarn lint && yarn test -- --silent --no-cache",
"tsc": "tsc --noEmit -p ./tsconfig.json",
"format": "find ./src/ -name '*.ts*' | xargs prettier --write --config ./.prettierrc --config-precedence file-override",
"remotedev": "remotedev --hostname=localhost --port=8000",
"lint": "tslint --project .",
"lint:fix": "tslint --project . --fix",
"prepare": "yarn build",
"build": "tsc -p ./tsconfig-build.json --module commonjs && rollup -c rollup.config.ts --configPlugin typescript --bundleConfigAsCjs",
"prepublishOnly": "rimraf node_modules && yarn && yarn tsc && yarn build",
"precommit": "lint-staged",
"report-coverage": " cat ./coverage/lcov.info | coveralls",
"prepush": "yarn lint && yarn tsc"
},
"lint-staged": {
"{src,__test__}/**/*.ts": [
"yarn format",
"yarn lint:fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/onsol-labs/ans-validation.git"
},
"author": "Miester <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/onsol-labs/ans-validation/issues"
},
"files": [
"dist"
],
"homepage": "https://github.com/onsol-labs/ans-validation#readme",
"devDependencies": {
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-strip": "3.0.2",
"@rollup/plugin-typescript": "11.0.0",
"@types/expect": "^1.20.3",
"@types/jest": "^22.2.3",
"@types/lodash": "^4.14.108",
"@types/node": "^10.1.4",
"@types/rollup-plugin-node-builtins": "^2.1.2",
"@types/rollup-plugin-node-globals": "^1.4.1",
"@types/utf8": "^2.1.6",
"@types/xregexp": "^3.0.29",
"emoji-regex": "^10.0.0",
"husky": "^0.14.3",
"jest": "^29.3.1",
"lint-staged": "^7.0.5",
"lodash": "^4.17.10",
"prettier": "^1.12.1",
"punycode": "^2.1.0",
"regenerate": "^1.4.0",
"rollup": "^3.9.1",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-dts": "^5.1.1",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.34.1",
"ts-jest": "^29.0.4",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.12.0",
"typescript": "^4.9.4",
"utf8": "^3.0.0",
"xregexp": "^4.1.1"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"testURL": "http://localhost/",
"transform": {
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"moduleNameMapper": {
"@src/(.*)": "<rootDir>/src/$1",
"@test/(.*)": "<rootDir>/__test__/$1"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.ts$",
"coveragePathIgnorePatterns": [
"/node_modules/",
"__test__"
]
}
}