This repository has been archived by the owner on Feb 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.14 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
{
"name": "beater-snapshot",
"description": "A snapshot testing library for beater.",
"version": "0.3.0",
"author": "bouzuya <m@bouzuya.net> (https://bouzuya.net/)",
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "10"
}
}
]
]
},
"bugs": {
"url": "https://github.com/bouzuya/beater-snapshot/issues"
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@types/node": "^10.17.13",
"@typescript-eslint/eslint-plugin": "^2.19.0",
"@typescript-eslint/parser": "^2.19.0",
"beater": "^9.0.0",
"beater-helpers": "^2.0.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.0",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"typescript": "^3.7.2",
"watch": "^1.0.2"
},
"files": [
"lib"
],
"homepage": "https://github.com/bouzuya/beater-snapshot",
"keywords": [
"beater",
"bouzuya",
"snapshot",
"test",
"testing"
],
"license": "MIT",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/bouzuya/beater-snapshot.git"
},
"scripts": {
"build": "npm-run-all -s build:format build:lint build:es2015 build:es5 build:lib",
"build:es2015": "tsc",
"build:es5": "babel --out-dir .tmp/es5/ --source-maps inline .tmp/es2015/",
"build:format": "prettier --check '{src,test}/**/*.ts'",
"build:lib": "babel --copy-files --no-comments --out-dir lib/ .tmp/es2015/src/",
"build:lint": "eslint '{src,test}/**/*.ts'",
"clean": "rimraf \".tmp\" \"lib\"",
"format": "prettier --write '{src,test}/**/*.ts'",
"prepare": "npm-run-all -s \"clean\" \"build\"",
"test": "nyc node .tmp/es5/test/index.js",
"watch": "npm-run-all -p \"watch:*\"",
"watch:es2015": "npm run build:es2015 -- --watch",
"watch:es5": "npm run build:es5 -- --watch",
"watch:lib": "watch --wait 2 'npm run build:lib' '.tmp/es5/src/'",
"watch:test": "watch --wait 2 'npm test' '.tmp/es5/src' '.tmp/es5/test'"
}
}