-
Notifications
You must be signed in to change notification settings - Fork 68
/
package.json
118 lines (118 loc) · 3.44 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
{
"name": "power-assert",
"description": "Power Assert in JavaScript",
"version": "1.6.1",
"author": {
"name": "Takuto Wada",
"email": "takuto.wada@gmail.com",
"url": "https://github.com/twada"
},
"bugs": {
"url": "https://github.com/power-assert-js/power-assert/issues"
},
"contributors": [
{
"name": "azu",
"url": "https://github.com/azu"
},
{
"name": "Masahiro Wakame",
"url": "https://github.com/vvakame"
},
{
"name": "Yosuke Furukawa",
"url": "https://github.com/yosuke-furukawa"
},
{
"name": "Teppei Sato",
"url": "https://github.com/teppeis"
},
{
"name": "Kenta Mori",
"url": "https://github.com/zoncoen"
},
{
"name": "falsandtru",
"url": "https://github.com/falsandtru"
},
{
"name": "James Talmage",
"url": "https://github.com/jamestalmage"
},
{
"name": "Lesha Koss",
"url": "https://github.com/LeshaKoss"
},
{
"name": "Daijirō Wachi",
"url": "https://github.com/watilde"
}
],
"dependencies": {
"define-properties": "^1.1.2",
"empower": "^1.3.1",
"power-assert-formatter": "^1.4.1",
"universal-deep-strict-equal": "^1.2.1",
"xtend": "^4.0.2"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/register": "^7.15.3",
"babel-plugin-espower": "^3.0.1",
"browserify": "^17.0.0",
"derequire": "^2.1.1",
"dereserve": "^1.0.0",
"expect.js": "^0.3.1",
"karma": "^6.3.4",
"karma-chrome-launcher": "^3.1.0",
"karma-expect": "^1.1.2",
"karma-firefox-launcher": "^2.1.1",
"karma-mocha": "^2.0.1",
"licensify": "^3.0.0",
"mocha": "^9.1.0",
"package-json-filterify": "^1.0.4",
"qunit-tap": "^1.5.0",
"qunitjs": "1.14.0",
"requirejs": "^2.2.0"
},
"files": [
"CHANGELOG.md",
"MIT-LICENSE.txt",
"README.md",
"index.js",
"build/power-assert.js",
"package.json"
],
"homepage": "https://github.com/power-assert-js/power-assert",
"keywords": [
"power-assert",
"assert",
"assertion",
"test",
"testing",
"ecmascript",
"ast"
],
"license": "MIT",
"main": "./index.js",
"repository": {
"type": "git",
"url": "https://github.com/power-assert-js/power-assert.git"
},
"scripts": {
"build": "mkdir -p ./build && npm prune && npm dedupe && browserify -p licensify --global-transform package-json-filterify --standalone assert ./index.js | dereserve | derequire > build/power-assert.js",
"clean": "rm -rf ./espowered_tests && rm -rf ./build",
"setup-dir": "mkdir -p ./build && mkdir -p ./espowered_tests/tobe_instrumented && cp -r test/not_tobe_instrumented/ ./espowered_tests/not_tobe_instrumented/",
"setup-espower": "for i in $(find ./test/tobe_instrumented -name '*.js'); do babel $i > ./espowered_tests/tobe_instrumented/$(basename $i); done",
"setup": "npm run clean && npm run setup-dir && npm run setup-espower && npm run build",
"test-unit": "mocha --reporter dot --require ./enable_power_assert.js ./test/**/*.js",
"test-generated": "mocha --reporter dot ./espowered_tests/**/*.js",
"test-browser": "karma start",
"test-all": "npm run test-unit && npm run test-generated && npm run test-browser",
"test": "npm run setup && npm run test-all",
"preversion": "npm test",
"version": "npm run build && git add -A build"
}
}