This repository was archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.72 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.72 KB
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
{
"name": "whichstring",
"version": "0.1.0",
"description": "A react component for displaying information about which string a violin is playing.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"private": true,
"dependencies": {},
"devDependencies": {
"@types/enzyme": "^2.8.9",
"@types/jest": "^20.0.7",
"@types/lodash": "^4.14.73",
"@types/node": "^8.0.24",
"@types/react": "^16.0.31",
"@types/react-dom": "^16.0.3",
"@types/react-router": "^4.0.14",
"@types/react-router-dom": "^4.0.7",
"@types/webaudioapi": "0.0.27",
"@types/webpack": "^3.0.12",
"@types/webpack-env": "^1.13.1",
"awesome-typescript-loader": "^3.2.3",
"copy-webpack-plugin": "^4.3.1",
"css-loader": "^0.28.7",
"deeplearn": "^0.3.15",
"fft-js": "0.0.11",
"html-loader": "^0.5.1",
"html-webpack-plugin": "^2.30.1",
"node-sass": "^4.7.2",
"pitchfinder": "^2.0.7",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-hot-loader": "^3.0.0-beta.7",
"react-router-dom": "^4.2.2",
"sass-loader": "^6.0.6",
"source-map-loader": "^0.2.3",
"style-loader": "^0.18.2",
"ts-jest": "^20.0.10",
"ts-node": "^3.3.0",
"tslint": "^5.7.0",
"tslint-config-airbnb": "^5.3.0",
"tslint-eslint-rules": "^4.1.1",
"typescript": "^2.4.2",
"webpack": "^3.5.5",
"webpack-dev-server": "^2.7.1"
},
"jest": {
"setupFiles": [
"./src/enzymeSetup"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"\\.(ts|tsx)$": "./node_modules/ts-jest/preprocessor.js"
},
"testRegex": "/src/.*\\.test.(ts|tsx|js)$",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/assetsTransformer.js",
"\\.(css|less)$": "<rootDir>/assetsTransformer.js"
}
},
"scripts": {
"clean": "rm -rf dist/",
"start": "npm run clean && webpack-dev-server",
"test": "npm run lint && jest -t",
"test:dev": "jest --watchAll -t",
"test:coverage": "jest -t --coverage",
"build": "npm run clean && tsc && npm run build:sass && npm run build:assets",
"build:assets": "cp -R src/assets dist/assets",
"build:sass": "node-sass src/whichstring.scss dist/whichstring.css",
"build:model": "python src/scripts/python_setup.py",
"build:portmodel": "./src/scripts/portmodel.sh",
"prepublish": "npm run build",
"release:major": "npm run test && npm version major && npm publish",
"release:minor": "npm run test && npm version minor && npm publish",
"release:patch": "npm run test && npm version patch && npm publish",
"postversion": "git push && git push --tags",
"lint": "tslint -p ./tsconfig.json"
}
}