-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
180 lines (180 loc) · 5.75 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "frets",
"version": "0.0.0-development",
"description": "Functional, Reactive, TypeScript - An Ultralight Composable Frontend TypeScript Web Framework",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"browser": "build/browser/frets.js",
"repository": "https://github.com/sirtimbly/frets.git",
"author": "Tim Bendt <[email protected]>",
"license": "MIT",
"scripts": {
"info": "npm-scripts-info",
"build": "trash build && npm run build:main",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p config/exports/tsconfig.module.json",
"build:browser": "rollup -c config/exports/rollup.config.js -f es -o build/browser/frets.js",
"build:browser-min": "rollup -c config/exports/rollup_min.config.js -f umd -o build/browser/frets.min.js",
"build:browser-cjs": "rollup -c config/exports/rollup.config.js -f cjs -o build/browser/frets.cjs.js",
"build:resolve-sourcemaps": "sorcery -i build/browser/frets.js && sorcery -i build/browser/frets.cjs.js",
"build:tests": "trash test && node config/exports/build-tests.js",
"lint": "xo",
"lint:fix": "xo --fix",
"unit": "nyc ava",
"check-coverage": "nyc check-coverage --lines 10 --functions 10 --branches 0",
"test": "npm run lint && npm run unit && npm run check-coverage",
"test:watch": "ava --watch --verbose",
"cov": "npm run unit && npm run html-coverage && open coverage/index.html",
"html-coverage": "nyc report --reporter=html",
"send-coverage": "nyc report --reporter=lcov",
"docs": "npm run docs:html && opn public/docs/index.html",
"docs:html": "typedoc src/index.ts --excludePrivate --mode file --theme minimal --out docs/.vuepress/dist/api/",
"docs:json": "typedoc --mode file --json public/docs/typedoc.json src/index.ts",
"docs:publish": "./scripts/docs-deploy.sh",
"docs:dev": "vuepress dev docs",
"docs:build": "NODE_ENV=production vuepress build docs",
"changelog": "npx semantic-release",
"release": "npm run reset && npm run test && npm run docs && npm run changelog",
"reset": "git clean -dfx && git reset --hard && npm i",
"semantic-release": "semantic-release",
"commit": "npx git-cz"
},
"scripts-info": {
"info": "Display information about the scripts",
"build": "(Trash and re)build the library",
"lint": "Lint all typescript source files",
"unit": "Build the library and run unit tests",
"test": "Lint, build, and test the library",
"watch": "Watch source files, rebuild library on changes, rerun relevant tests",
"cov": "Run tests, generate the HTML coverage report, and open it in a browser",
"docs": "Generate HTML API documentation and open it in a browser",
"docs:publish": "Generate HTML API documentation and push it to GitHub Pages",
"docs:json": "Generate API documentation in typedoc JSON format",
"changelog": "Bump package.json version, update CHANGELOG.md, tag a release",
"reset": "Delete all untracked files and reset the repo to the last commit",
"release": "Clean, build, test, publish docs, and prepare release (a one-step publish process)"
},
"engines": {
"node": ">=10.22.0"
},
"devDependencies": {
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/npm": "^7.0.5",
"@semantic-release/release-notes-generator": "^9.0.1",
"@types/eslint": "^7.2.0",
"@types/node": "^8.10.21",
"@typescript-eslint/eslint-plugin": "^3.7.1",
"@typescript-eslint/parser": "3.7.1",
"ava": "^3.11.0",
"browser-env": "^3.3.0",
"codecov": "^3.7.2",
"cpx": "^1.5.0",
"cz-conventional-changelog": "^3.2.0",
"eslint": "7.5.0",
"eslint-config-xo": "^0.32.1",
"eslint-config-xo-typescript": "^0.31.0",
"eslint-plugin-prettier": "^3.1.4",
"gh-pages": "^3.1.0",
"maquette-query": "^0.11.7",
"mkdirp": "^1.0.4",
"npm-scripts-info": "^0.3.9",
"nyc": "^15.1.0",
"opn-cli": "^5.0.0",
"prettier": "2.0.5",
"rollup": "~1.32.1",
"rollup-plugin-alias": "^2.2.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "~5.3.0",
"semantic-release": "^17.1.1",
"sleep-ms": "^2.0.1",
"sorcery": "^0.10.0",
"standard-version": "^8.0.2",
"trash-cli": "^3.0.0",
"ts-node": "8.10.2",
"typedoc": "^0.17.8",
"typescript": "^3.9.7",
"vuepress": "^1.5.2",
"xo": "^0.32.1"
},
"keywords": [
"framework",
"web",
"functional",
"state",
"action",
"model",
"hyperscript",
"virtual-dom",
"sam",
"library",
"javascript-modules",
"typescript"
],
"nyc": {
"exclude": [
"**/*.spec.*",
"build/browser/**",
"config/**"
]
},
"ava": {
"extensions": [
"ts"
],
"source": [
"src/**/*.spec.ts"
],
"require": [
"ts-node/register",
"./config/setup-browser-env.js"
]
},
"dependencies": {
"@types/dom-inputevent": "^1.0.5",
"maquette": "3.3.7",
"path-parser": "6.1.0",
"tslib": "2.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"branch": "master",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm"
]
},
"xo": {
"globals": [
"$",
"window",
"document",
"InputEvent"
],
"prettier": true,
"rules": {
"import/no-unresolved": 0,
"xo/filename-case": 0,
"unicorn/filename-case": 0
},
"extends": "xo-typescript",
"extensions": [
"ts"
],
"ignore": [
"test",
"build",
"benchmarks",
"config",
"docs",
"pages",
"src/*.spec.ts"
]
}
}