-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.12 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
{
"name": "xrange",
"version": "2.2.1",
"description": "Python-esque iterator for number ranges",
"author": "Dima Parzhitsky <parzhitsky@gmail.com>",
"repository": "github:parzh/xrange",
"license": "MIT",
"keywords": [
"range",
"xrange",
"iterator"
],
"files": [
"/dist",
"!/dist/**/*.impl.d.ts",
"!/dist/typings/*.js",
"/README.md"
],
"browser": "dist/xrange.bundle.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"jest": {
"verbose": true,
"preset": "ts-jest",
"resetMocks": true,
"rootDir": ".",
"roots": [
"<rootDir>/test"
],
"testMatch": [
"<rootDir>/test/**/*.spec.ts"
],
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts"
],
"coverageDirectory": "<rootDir>/coverage",
"cacheDirectory": "<rootDir>/.cache/jest",
"testEnvironment": "node",
"errorOnDeprecated": true
},
"scripts": {
"pretest": "node --require ./dist -pe \"process.exit(0)\" || npm run build",
"test": "jest --no-cache",
"test:cov": "npm run test -- --coverage",
"test:ci": "npm run test -- --no-colors",
"start": "node --require ts-node/register src",
"clean": "rimraf dist/*",
"clean:spare": "rimraf dist/**/*.impl.d.ts dist/typings/*.js",
"build:web": "webpack --config webpack.config.prod.ts",
"build:node": "tsc --project tsconfig-node.prod.json",
"postbuild:node": "npm run clean:spare",
"prebuild": "npm run clean",
"build": "npm run build:node && npm run build:web",
"dev": "tsc --project tsconfig-node.dev.json",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/glob": "7.2.0",
"@types/jest": "27.5.0",
"@types/node": "18.15.3",
"@types/webpack": "5.28.1",
"@types/webpack-merge": "5.0.0",
"glob": "7.2.3",
"jest": "27.5.1",
"rimraf": "3.0.2",
"ts-jest": "27.0.7",
"ts-loader": "9.4.2",
"ts-node": "10.9.1",
"typescript": "4.9.5",
"tyte": "0.3.2",
"webpack": "5.80.0",
"webpack-cli": "5.1.4",
"webpack-merge": "5.8.0"
},
"dependencies": {
"@xrange/core": "1.0.2",
"@xrange/func": "1.0.5"
}
}