forked from bwrrp/whynot.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.53 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
{
"name": "whynot",
"version": "1.0.0",
"description": "Generic VM-based structure matching framework",
"author": "Stef Busking <[email protected]>",
"contributors": ["Martin Middel <[email protected]>"],
"license": "MIT",
"keywords": ["Language", "Matching", "Regex", "Structure"],
"main": "dist/whynot.js",
"module": "dist/whynot.mjs",
"scripts": {
"build:amd": "rimraf lib && tsc -P tsconfig.build.json --module amd",
"build:commonjs": "rimraf lib && tsc -P tsconfig.build.json --module commonjs",
"build:es": "rimraf lib && tsc -P tsconfig.build.json --module es6",
"build:bundle": "rimraf dist && rimraf lib && tsc -P tsconfig.build.json && rollup -c",
"docs": "typedoc --out docs --excludePrivate --excludeNotExported src/index.ts",
"prepare": "npm run build:bundle",
"test": "jest --coverage --verbose"
},
"files": ["dist"],
"repository": {
"type": "git",
"url": "https://github.com/bwrrp/whynot.js"
},
"devDependencies": {
"@types/jest": "^22.1.3",
"jest": "^22.4.0",
"prettier": "^1.10.2",
"rimraf": "^2.6.2",
"rollup": "^0.56.2",
"rollup-plugin-babel-minify": "^4.0.0",
"ts-jest": "^22.0.4",
"typedoc": "^0.11.0",
"typescript": "^2.7.2"
},
"jest": {
"transform": {
"^.+\\.(t|j)sx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(\\.(tests))\\.(tsx?|jsx?)$",
"moduleFileExtensions": ["ts", "tsx", "js", "json", "jsx"],
"collectCoverageFrom": ["src/**/*.ts"]
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"tabWidth": 4,
"useTabs": true
}
}