1 | {
|
2 | "name": "ts-ds-tool",
|
3 | "version": "0.1.5",
|
4 | "description": "Data structure and algorithm of TypeScript",
|
5 | "main": "dist/data-structure.js",
|
6 | "module": "dist/data-structure.es.js",
|
7 | "typings": "./resource/index.d.ts",
|
8 | "typescript": {
|
9 | "definition": "resource/index.d.ts"
|
10 | },
|
11 | "scripts": {
|
12 | "build": "run-s tsc build:*",
|
13 | "build:dist": "run-s clean:dist bundle:dist bundle:es",
|
14 | "clean:dist": "rimraf dist",
|
15 | "bundle:dist": "rollup -c ./script/rollup-config.js",
|
16 | "bundle:es": "rollup -c ./script/rollup-config-es.js",
|
17 | "lint": "run-s lint:simple lint:tree",
|
18 | "lint:simple": "tslint --project tsconfig.json src/*/*.ts",
|
19 | "lint:tree": "tslint --project tsconfig.json src/tree/*/*.ts",
|
20 | "test": "jest",
|
21 | "ci": "npm run test -- --coverage",
|
22 | "codecov": "codecov",
|
23 | "tsc": "tsc -p tsconfig.json"
|
24 | },
|
25 | "pre-commit": [
|
26 | "lint",
|
27 | "test"
|
28 | ],
|
29 | "repository": {
|
30 | "type": "git",
|
31 | "url": "git@github.com:HaifengDu/ts-ds-tool.git"
|
32 | },
|
33 | "keywords": [
|
34 | "data collection",
|
35 | "data structures",
|
36 | "data-collection",
|
37 | "data-structures",
|
38 | "data",
|
39 | "algorithms",
|
40 | "structures",
|
41 | "typescript",
|
42 | "javascript"
|
43 | ],
|
44 | "author": "dhf",
|
45 | "license": "MIT",
|
46 | "devDependencies": {
|
47 | "@types/jest": "^23.3.1",
|
48 | "codecov": "^3.1.0",
|
49 | "jest": "^23.5.0",
|
50 | "npm-run-all": "^4.1.3",
|
51 | "pre-commit": "^1.2.2",
|
52 | "rollup": "0.59.1",
|
53 | "rollup-plugin-buble": "0.19.2",
|
54 | "rollup-plugin-commonjs": "9.1.3",
|
55 | "rollup-plugin-json": "3.0.0",
|
56 | "rollup-plugin-strip-banner": "0.2.0",
|
57 | "run-sequence": "2.2.1",
|
58 | "ts-jest": "^23.1.4",
|
59 | "tslint": "^5.12.1",
|
60 | "tslint-eslint-rules": "^5.4.0",
|
61 | "typescript": "^3.0.3",
|
62 | "uglify-js": "2.8.11",
|
63 | "uglify-save-license": "0.4.1"
|
64 | }
|
65 | }
|