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
/
package.json
71 lines (71 loc) · 1.8 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
{
"name": "spa-town",
"description": "A simple router based on bath",
"version": "0.1.2",
"author": {
"name": "bouzuya",
"email": "m@bouzuya.net",
"url": "http://bouzuya.net/"
},
"babel": {
"presets": [
"es2015"
]
},
"beater": {
"dir": "./.tmp/es5/test/",
"require": [
"./scripts/enable-power-assert.js"
]
},
"bugs": {
"url": "https://github.com/bouzuya/bath/issues"
},
"dependencies": {
"bath": "^2.0.1"
},
"devDependencies": {
"@types/power-assert": "1.4.29",
"babel-cli": "6.22.0",
"babel-preset-es2015": "6.22.0",
"beater": "0.4.1",
"beater-cli": "0.2.4",
"cpx": "1.5.0",
"espower-loader": "1.2.0",
"npm-run-all": "4.0.2",
"power-assert": "1.4.2",
"proxyquire": "1.7.11",
"rimraf": "2.6.1",
"sinon": "1.17.4",
"typescript": "2.2.1",
"watch": "1.0.2"
},
"files": [
"index.d.ts",
"index.js"
],
"homepage": "https://github.com/bouzuya/spa-town#readme",
"keywords": [],
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/bouzuya/spa-town.git"
},
"scripts": {
"build": "npm-run-all -s 'build:ts' 'build:es2015' 'copy'",
"build:es2015": "babel .tmp/es2015/ -d .tmp/es5/",
"build:ts": "tsc",
"clean": "rimraf '*.d.ts' '*.js' '.tmp' 'lib'",
"copy": "npm-run-all -p 'copy:*'",
"copy:dts": "cpx '.tmp/es2015/src/**/*.d.ts' '.'",
"copy:js": "cpx '.tmp/es5/src/**/*.js' '.'",
"prepublish": "npm-run-all -s 'clean' 'build'",
"start": "node .tmp/es5/src/index.js",
"test": "beater",
"watch": "npm-run-all -p 'watch:*'",
"watch:es2015": "npm run build:es2015 -- --watch",
"watch:test": "watch --wait 2 'npm test' '.tmp/es5/test/'",
"watch:ts": "npm run build:ts -- --watch"
}
}