-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
45 lines (45 loc) · 1.29 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
{
"name": "asm",
"version": "1.0.0",
"author": "Nate Geslin <[email protected]>",
"license": "MIT",
"scripts": {
"clean": "rm -rf ./dist && mkdir -p dist/ && mkdir -p dist/style && mkdir -p dist/script && cp ./src/index.html ./dist/index.html",
"build": "npm run clean && npm run build:scripts && npm run build:styles",
"build:styles": "cp -R ./src/style/ ./dist/style/",
"build:scripts": "browserify -d src/script/index.ts -p [ tsify --noImplicitAny ] > dist/script/bundle.js",
"test": "nyc mocha -r ts-node/register -r source-map-support/register src/**/*.spec.ts",
"posttest": "nyc report --reporter=lcov --reporter=text-summary",
"start": "cd dist/ && http-server -p 9987 -c -1"
},
"nyc": {
"extension": [
".ts",
".tsx"
],
"exclude": [
"**/coverage/**",
"**/dist/**",
"**/*.d.ts",
"**/*.spec.ts"
],
"all": false
},
"devDependencies": {
"@types/chai": "^4.1.4",
"@types/mocha": "^2.2.48",
"@types/sinon": "^2.3.7",
"browserify": "^14.4.0",
"chai": "^4.1.2",
"mocha": "^4.1.0",
"nyc": "^11.9.0",
"sinon": "^4.0.2",
"source-map-support": "^0.5.0",
"ts-node": "^3.3.0",
"tsify": "^3.0.3"
},
"dependencies": {
"tslint": "^5.8.0",
"typescript": "^2.5.3"
}
}