-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.46 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
{
"name": "js-spec",
"version": "0.1.79",
"license": "LGPL-3.0",
"homepage": "https://github.com/js-works/js-spec",
"main": "index.js",
"types": "dist/types/js-spec.d.ts",
"module": "dist/js-spec.esm.production.js",
"unpkg": "dist/js-spec.umd.production.js",
"jsdelivr": "dist/js-spec.umd.production.js",
"repository": {
"type": "git",
"url": "https://github.com/js-works/js-spec.git"
},
"files": [
"index.js",
"validators",
"src",
"dist"
],
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.16",
"bestzip": "^2.1.7",
"chai": "~4.2.0",
"copyfiles": "^2.4.1",
"coveralls": "^3.1.0",
"cross-conf-env": "^1.2.1",
"crypto.js": "^2.0.2",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"rollup": "^2.35.1",
"rollup-plugin-gzip": "^2.5.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-tslint": "^0.2.2",
"rollup-plugin-typescript2": "^0.29.0",
"rollup-plugin-uglify": "^6.0.4",
"rollup-plugin-uglify-es": "0.0.1",
"rxjs": "^6.6.3",
"shx": "^0.3.3",
"symbol-observable": "^3.0.0",
"ts-loader": "^8.0.12",
"ts-node": "^9.1.1",
"tslint": "^5.20.1",
"typedoc": "^0.20.4",
"typescript": "^4.1.3"
},
"scripts": {
"clean": "shx rm -rf ./build ./dist ./coverage",
"build": "rollup --config rollup.config.js && tsc -d --emitDeclarationOnly --declarationDir dist/types",
"test": "nyc mocha -r ts-node/register src/test/**/*.ts",
"test-watch": "mocha -w -r ts-node/register src/test/**/*.ts",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"docs": "shx rm -rf ./dist/docs && \"node_modules/.bin/cross-conf-env\" typedoc --options ./typedoc.json src/main/api/ -name \"js-spec vnpm_package_version\"",
"zipsource": "shx rm -rf ./build/source && shx mkdir -p ./build/source && copyfiles -a ./* ./build/source && shx cp -r ./src ./build/source && shx mkdir -p ./dist/source && cd build/source && bestzip ../../dist/source/source.zip . && cd ../..",
"dist": "npm run clean && npm run test && npm run build && npm run docs && npm run zipsource"
},
"nyc": {
"temp-directory": "./coverage/.nyc_output",
"include": [
"src/main"
],
"exclude": [
"src/main/js-spec.ts"
],
"extension": [
".ts"
],
"reporter": [
"lcov",
"text"
],
"all": true
}
}